public void Remove(int value) { for (int i=0; i < list.Count; i++) { if (this[i] == value) { list.RemoveAt(i); return; } } }