Пример #1
0
        // Main Method
        public static void Main()
        {
            // This will invoke parameterized
            // constructor.
            Geek geek1 = new Geek("GFG", 1);

            Console.WriteLine("GeekName = " + geek1.name +
                              " and GeekId = " + geek1.id);
        }
        public static void Main()
        {
            Geek geek1 = new Geek("GFG", 1);

            Console.WriteLine("GeekName = " + geek1.name + " and GeekID = " + geek1.id);
        }