static void Main(string[] args) { Student s = new Student(); s.ReadInfo(); s.PrintInfo(); Console.ReadKey(); }