Es folgt der Auszug eines Chat-Protokolls meiner Kollegen. Spinner Nerds :-D
(4:02 PM) jm: ICronJob job = new Lars(); job.Start(); (4:02 PM) nk: IBlowJob = new Lars() etc etc you get it (4:02 PM) jm: hehe (4:02 PM) jm: IGlasJob glas = new Lars() (4:03 PM) cs: glas.Knirsch(); (4:03 PM) jm: nene (4:03 PM) jm: glas.Piff(); (4:03 PM) cs: if (!glas.CanEject) { throw new NotarztException("..."); } (4:03 PM) nk: glas.PlayNoise("pifff.mp3") (4:05 PM) cs: Debug.Assert(typeof(IMalik).IsAssignableFrom(IGlasJob))); (4:05 PM) nk: