public async Task <double> GetAverageHeightAsync(params int[] pokemonIDs) { var sumHeight = 0; foreach (var id in pokemonIDs) { var p = await pokedex.GetPokemonAsync(id); sumHeight += p.Height; } return(((double)sumHeight) / pokemonIDs.Length); }