Esempio n. 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;
 }
Esempio n. 2
0
 public City()
 {
     PostalCode = "";
     Name = "";
     Country = new Country();
 }