Add project files.

This commit is contained in:
BOT Alex 2023-06-27 11:48:18 +02:00
parent 4db0bf9298
commit cb8dd0eb76
221 changed files with 109953 additions and 0 deletions

View file

@ -0,0 +1,15 @@
namespace LearningChineseSimplified.ExtensionMethods
{
public static class StringExtensions
{
public static string ToTitleCase(this string input)
{
char firstLetter = input[0];
firstLetter = char.ToUpper(firstLetter);
string restOfString = input.Substring(1, input.Length - 1);
return firstLetter + restOfString;
}
}
}