using System.Collections.Generic;
public Person(string a, string b, int c)
Console.WriteLine("{0},{1},{2}",this.FirstName,this.LastName,this.Age);
public static void Main()
{ Person a= new Person("Боряна","Колева",24);
Person b= new Person("Красимир","Стояв",13);
Person c= new Person("Стоян","Резбаров",67);
List<Person>person=new List<Person>();
List <Person> sortedList= person
.OrderBy(y=>y.Age).ToList();
foreach(Person A in sortedList)A.Print();
List <Person> sortedList1= person
.ThenBy(z=>z.LastName).ToList();
foreach(Person B in sortedList1)B.Print();