static void Main(string[] args) { Console.WriteLine(Human.NumberOfPeople); Console.Write("Write first name: "); string firstName = Console.ReadLine(); Console.Write("Write last name: "); string lastName = Console.ReadLine(); Console.Write("Write age: "); int age = Convert.ToInt16(Console.ReadLine()); Human first = new Human(first: firstName, last: lastName, old: age, middle: null); Console.Write("Write type of sport: "); string typeOfSport = Console.ReadLine(); Console.Write("Write speciality of sport: "); string special = Console.ReadLine(); Specialist second = new Specialist(special, firstName, lastName, null, age, typeOfSport); Console.WriteLine(second["name"]); Console.Write("Write add string 1: "); second.AddToPrint(Console.ReadLine()); Console.Write("Write add string 2: "); second.AddToPrint(Console.ReadLine(), Console.ReadLine()); Console.WriteLine(Human.NumberOfPeople); Console.ReadKey(); }