Exemplo n.º 1
0
 static void Main()
 {
     Person someMan = new Person("Pesho",41);
     Console.WriteLine(someMan);
     Person someWoman = new Person("Anna");
     Console.WriteLine(someWoman);
 }
 static void Main()
 {
     Person somePerson = new Person("Gosho Gankov");
     Person otherPerson = new Person("Pesho", 10);
     Console.WriteLine(somePerson);
     Console.WriteLine(otherPerson);
 }
        static void Main()
        {
            Person pepi = new Person("Pepi", 29);
            Person mimi = new Person("Mimi");

            Console.WriteLine(pepi);
            Console.WriteLine(mimi);
        }