private static void Main(string[] args) { //Person p = new Person("quyet","24"); //Employee e = new Employee(1999); //e.Name = "kaka"; //p = (Person) e; //Console.WriteLine(p.Name); Console.Write("Enter number: "); int number = Convert.ToInt32(Console.ReadLine()); Student[] stu; for (int i = 0; i < number; i++) { Student student = new Student(); Console.Write("Enter name: "); student.Name = Console.ReadLine(); Console.Write("Enter id: "); student.Id = Console.ReadLine(); student.display(); } }