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

◆ CreateFromChar() [2/2]

static string System.String.CreateFromChar ( char c1,
char c2 )
inlinestaticpackage

Definition at line 1378 of file String.cs.

1379 {
1380 string text = FastAllocateString(2);
1381 text._firstChar = c1;
1382 Unsafe.Add(ref text._firstChar, 1) = c2;
1383 return text;
1384 }
static string FastAllocateString(int length)

References System.String.FastAllocateString(), and System.text.