Example #1
0
        static void Main(string[] args)
        {
            Student s = new Student();

            s.ReadInfo();
            s.PrintInfo();
            Console.ReadKey();
        }
Example #2
0
        static void Main(string[] args)
        {
            //Define a class Student that contains the following info:
            //Three names, Course, Degree, University, Email, Phone

            Student student1 = new Student("Richard", "Williams", "*****@*****.**");

            student1.PrintInfo();
        }