static string InformeCapturasPorPokebola() { StringBuilder sb = new StringBuilder(); sb.AppendFormat("{0}CAPTURAS POR POKEBOLA: \n", Menu.Identar(3)); sb.AppendFormat("{0}{1}\n", Menu.Identar(3), Menu.LineaFormateada(21, '-')); foreach (int pokebola in Enum.GetValues(typeof(Pokebola))) { if (pokebola != 0) { sb.AppendFormat("{0}Pokemones atrapados con una '{1}': {2}\n", Menu.Identar(5), Enum.GetName(typeof(Pokebola), pokebola), LogicaPC.CantPokemonesPorPokebola((Pokebola)pokebola)); } } return(sb.ToString()); }