public void RemoveAt(int index)
{
if ((uint) index >= (uint) this._size)
ThrowHelper.ThrowArgumentOutOfRangeException();
this._size = this._size - 1;
if (index < this._size)
Array.Copy((Array) this._items, index + 1, (Array) this._items, index, this._size - index);
this._items[this._size] = default (T);
this._version = this._version + 1;
}
List<int> numbers = new List<int>()
catch
{
MessageBox.Show("Что-то пошло не так");
}
catch(Exception ex)
{
Debug.WriteLine(ex);
}