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

◆ ToString() [5/36]

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

Definition at line 2639 of file Convert.cs.

2640 {
2641 if (toBase != 2 && toBase != 8 && toBase != 10 && toBase != 16)
2642 {
2643 throw new ArgumentException(SR.Arg_InvalidBase);
2644 }
2645 return ParseNumbers.IntToString(value, toBase, -1, ' ', 64);
2646 }

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