Beispiel #1
0
 public static void atTheParty(IMannerable obj)
 {
     Console.WriteLine("At the Party ");
     obj.Wish();
     Console.WriteLine("At the Party ");
     obj.Depart();
 }
Beispiel #2
0
 private static void AtTheParty(IMannerable obj)
 {
     Console.WriteLine("At the Party");
     obj.Wish();
     obj.Depart();
 }