예제 #1
0
파일: Lid.cs 프로젝트: SCK-Justa/Test-kassa
 public bool RemoveSpeld(string speld)
 {
     foreach (string s in Spelden)
     {
         if (s == speld)
         {
             Spelden.Remove(s);
             return(true); // Speld is gevonden
         }
     }
     return(false); // Speld is niet gevoden
 }
예제 #2
0
파일: Lid.cs 프로젝트: SCK-Justa/Test-kassa
 public void AddSpeld(string speld)
 {
     Spelden.Add(speld);
 }