private void buttonGetPokemon_Click(object sender, RoutedEventArgs e) { var pokemon = new Pokemon { pokemon = textBoxPokemonName }; }