Decapitalize
Decapitalizes the first letter of a string.
- Use
string.ToCharArray()
to convert the string to an array ofchar
,chars
. - Use
char.ToLower(chars[0])
to decapitalize the first letter. - Finally, return a
new string()
from thechars
array.