コード例 #1
0
ファイル: Program.cs プロジェクト: notelevision99/bailab1
        public static List <Student> LayListSVTest()
        {
            List <Student> listStudent = new List <Student>();

            Console.WriteLine("Nhap tong so sinh vien N:");
            int n = int.Parse(Console.ReadLine());

            Console.WriteLine("\n==========Nhap DS Sinh Vien============");
            for (int i = 0; i < n; i++)
            {
                Student temp = new Student();
                temp.InPut();
                listStudent.Add(temp);
            }
            return(listStudent);
        }