public static void Main(string[] args) { Cricket c = new Cricket(); c.Play(); Game g = new Football(); g.Play(); }
public static void Main(String[] args) { Game game = new Cricket(); game.play(); Console.WriteLine(); game = new Football(); game.play(); Console.ReadKey(); }