public int IndexOf(SIDObject Object) { if (List.Contains(Object)) { return(List.IndexOf(Object)); } else { return(-1); } }
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"); } }