public void Remove (object value) { if (value == null) return; int index = IndexOf (value); if (index != -1) RemoveAt (index); }