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

◆ this[int index]

char System.String.this[int index]
get

Definition at line 38 of file String.cs.

39 {
40 [Intrinsic]
41 get
42 {
43 if ((uint)index >= (uint)_stringLength)
44 {
45 ThrowHelper.ThrowIndexOutOfRangeException();
46 }
47 return Unsafe.Add(ref _firstChar, (nint)(uint)index);
48 }
49 }
readonly int _stringLength
Definition String.cs:32
char _firstChar
Definition String.cs:35