Пример #1
0
 static void Main()
 {
     Student[] students = new Student[]
     {
         new Student("Ivan", "Ivanov", 20),
         new Student("Peter", "Ivanov", 21),
         new Student("Ivan", "Petrov", 17),
         new Student("Georgi", "Ivanov", 19),
         new Student("Ivan", "Georgiev", 28),
         new Student("Georgi", "Petrov", 18),
         new Student("Peter", "Georgiev", 25),
         new Student("Georgi", "Georgiev", 23)
     };
     Student.FirstBeforeLastName(students);
     Console.WriteLine();
     Student.AgeRange(students);
     Console.WriteLine();
     Student.OrderStudents(students);
 }