Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ this[int index]

virtual ? object System.Collections.ArrayList.this[int index]
getset

Implements System.Collections.IList.

Definition at line 2235 of file ArrayList.cs.

2236 {
2237 get
2238 {
2239 if (index < 0 || index >= _size)
2240 {
2241 throw new ArgumentOutOfRangeException("index", SR.ArgumentOutOfRange_Index);
2242 }
2243 return _items[index];
2244 }
2245 set
2246 {
2247 if (index < 0 || index >= _size)
2248 {
2249 throw new ArgumentOutOfRangeException("index", SR.ArgumentOutOfRange_Index);
2250 }
2251 _items[index] = value;
2252 _version++;
2253 }
2254 }