text: public override bool remove(object @object){object[] a = array;int s = _size;if (@object != null){{for (int i = 0; i < s; i++){if (@object.Equals(a[i])){System.Array.Copy(a, i + 1, a, i, --s - i);a[s] = null;_size = s;modCount++;return true;}}}}else{{for (int i = 0; i < s; i++){if (a[i] == null){System.Array.Copy(a, i + 1, a, i, --s - i);a[s] = null;_size = s;modCount++;return true;}}}}return false;}