static void Main(string[] args) { Person Egor = new Person("Egor", ".txt", 40000000); Person anotherPerson = new Person("AnotherPerson", ".txt", 40000000); try { for (int i = 0; i < 10; i++) { Egor.SetDna(); anotherPerson.SetDna(); CheckForUnique(Egor, anotherPerson, i); } } catch (Exception e) { Console.WriteLine(e); } Console.WriteLine("Всё прошло успешно!"); Console.WriteLine("WE ARE SHUTTING DOWN"); //Shutdown(); Console.ReadLine(); }