private City FindCity(string cityName, List<City> cities) { foreach (City c in cities) { if (c.Name == cityName) { return c; } } return null; }