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

◆ ToString() [28/36]

static string System.Convert.ToString ( short value,
int toBase )
inlinestatic

Definition at line 2648 of file Convert.cs.

2649 {
2650 if (toBase != 2 && toBase != 8 && toBase != 10 && toBase != 16)
2651 {
2652 throw new ArgumentException(SR.Arg_InvalidBase);
2653 }
2654 return ParseNumbers.IntToString(value, toBase, -1, ' ', 128);
2655 }

References System.SR.Arg_InvalidBase, System.ParseNumbers.IntToString(), and System.value.