예제 #1
0
        public void LandLöschen(string name)
        {
            Land result = null;

            foreach (Land l in dieLaender)
            {
                if (l.Name == name)
                {
                    result = l;
                    break;
                }
            }
            if (result != null)
            {
                dieLaender.Remove(result);
            }
        }
예제 #2
0
 public void LandLöschen(Land l)
 {
     dieLaender.Remove(l);
 }
예제 #3
0
 public void LandHinzufügen(Land l)
 {
     dieLaender.Add(l);
 }