public int IndexOf(ProviderID providerID) { for (int i = 0; i < Count; i++) { if (this[i] == providerID) { return(i); } } return(-1); }
public bool Contains(ProviderID providerID) { return(IndexOf(providerID) >= 0); }