null
public Game GetGame(Type gameType) { foreach (Game game in AllGames) if (game.GetType() == gameType) return game; foreach (Game game in AllGames) if (game.GetType().IsSubclassOf(gameType)) return game; return null; }