Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.WriteLine("\nRace and Footrace example:");
- var r1 = new FootRace();
- var r2 = r1 as IDisplayResult;
- r1.Seconds = 99;
- r1.Display();
- r2.Display();
- r1.DisplayRaw();
- Console.ReadKey();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement