static void Main(string[] args) { Game game = new Cricket(); game.Play(); Console.WriteLine(); game = new Football(); game.Play(); Console.ReadKey(); }
public static void Demo() { Football f = new Football(); f.Play(); Baseball b = new Baseball(); b.Play(); Console.Read(); }