mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Better?
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Buzzword
|
|||||||
if (string.IsNullOrWhiteSpace(input))
|
if (string.IsNullOrWhiteSpace(input))
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|
||||||
return input.Substring(0, 1).ToUpper() + input[1..];
|
return char.ToUpper(input[0]) + input[1..];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Seed has been calculated to get the same effect as in original,
|
// Seed has been calculated to get the same effect as in original,
|
||||||
|
|||||||
Reference in New Issue
Block a user