public static void Speak(Pokemons pokemon) { if (pokemon == Pikachu) { Console.WriteLine("Pika-pika"); } else if (pokemon == Bulbasaur) { Console.WriteLine("Bulba-saur"); } else { Console.WriteLine("Char-char"); } }
public static void Add(Pokemons pokemon) { pokemons.Add(pokemon); }