Beispiel #1
0
 static void Main(string[] args)
 {
   Person p = new Person("Rusakov", "Alexey", 35);
   Console.WriteLine(p.ToString());
   Console.ReadKey();
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            Person p = new Person("Katya", "Usik", 19, Person.Genders.Female);

            Console.WriteLine(p.ToString());
        }