public static IList<FederalStates> GetFederalStates(string countryName) { List<FederalStates> states = new List<FederalStates>(); for (int i = 0; i < 5; i++) { FederalStates state = new FederalStates(); state.Name = countryName + " - FederalState " + i.ToString(); states.Add(state); } return states; }
public static IList <FederalStates> GetFederalStates(string countryName) { List <FederalStates> states = new List <FederalStates>(); for (int i = 0; i < 5; i++) { FederalStates state = new FederalStates(); state.Name = countryName + " - FederalState " + i.ToString(); states.Add(state); } return(states); }