static void Main(string[] args) { Person[] persons = new Person[2]; persons[0] = new Person(); persons[0].SetNameAndAge(Read.ReadName(), Read.ReadAge()); Print.PrintResult(persons[0]); persons[1] = new Person(); persons[1].SetNameAndAge(Read.ReadName(), Read.ReadAge()); Print.PrintResult(persons[1]); }