Beispiel #1
0
 public int IndexOf(SIDObject Object)
 {
     if (List.Contains(Object))
     {
         return(List.IndexOf(Object));
     }
     else
     {
         return(-1);
     }
 }
Beispiel #2
0
 public void Remove(SIDObject Object)
 {
     if (List.Contains(Object))
     {
         List.Remove(Object);
     }
     else
     {
         throw new Exception("Object was not found inside the array  \r\n Error No. 150");
     }
 }