Fixed website using new project

This commit is contained in:
BOT Alex 2023-06-28 22:03:48 +02:00
parent 7bac6e3e16
commit 7aa40c171b
237 changed files with 934 additions and 89 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;
}
}
}