예제 #1
0
 public static Country KontrolliereMitDatenbank(Country land, List<Country> länder)
 {
     foreach (var country in länder)
     {
         if (country.Name.Equals(land.Name)) return country;
     }
     return land;
 }
예제 #2
0
 public City()
 {
     PostalCode = "";
     Name = "";
     Country = new Country();
 }