Beispiel #1
0
 string WhichFunnyThingIWant(IClown clownType)
 {
     clownType.Honk();
 }
Beispiel #2
0
 private static void DoJob(IClown man)
 {
     Console.WriteLine(man.FunnyThingIHave);
     man.Honk();
 }