Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            BirthdayTest  bt = new BirthdayTest();
            BirthdayEntry be = new BirthdayEntry("George", "Pasparakis",
                                                 "6977", DateTime.Now);
            BirthdayEntry be2 = new BirthdayEntry("George");

            bt.PrintTwoEntries(be, be2);
        }
Ejemplo n.º 2
0
 public void PrintTwoEntries(BirthdayEntry be, BirthdayEntry be2)
 {
     Console.WriteLine(be);
     Console.WriteLine(be2);
     //Console.WriteLine($"be {be.firstName}, {be.lastName}, " +
     //                  $"   {be.telephone}, {be.dateOfBirth}");
     //Console.WriteLine($"be2 {be2.firstName}, {be2.lastName}, " +
     //                  $"   {be2.telephone}, {be2.dateOfBirth}");
 }