예제 #1
0
        static void Main(string[] args)
        {
            Student x = new Student("Yernar", "18BD111119"); //object

            x.Printing();                                    //calling method
            x.Yearprint();                                   //calling method
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            Student x = new Student("Yernar", "18BD111119");

            x.Printing();
            x.Year.print();
            Console.ReadKey();
        }