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

◆ TryParse() [5/9]

static bool System.Char.TryParse ( [NotNullWhen(true)] string? s,
out char result )
inlinestatic

Definition at line 167 of file Char.cs.

168 {
169 result = '\0';
170 if (s == null)
171 {
172 return false;
173 }
174 if (s.Length != 1)
175 {
176 return false;
177 }
178 result = s[0];
179 return true;
180 }

References System.s.

Referenced by System.Char.TryParse(), and System.Char.TryParse().