How can the first letter in a text be set to capital?
Example:
it is a text. = It is a text.
I use this variant:
private string FirstLetterCapital(string str) { return Char.ToUpper(str[0]) + str.Remove(0, 1); }