If you want to lowercase the first letter of a string in C# use:

        /// <summary>
        /// Lowercase first word in string
        /// </summary>
        /// <param name="s"></param>
        /// <returns></returns>
        public string LowercaseFirst(string s)
        {
            if (string.IsNullOrEmpty(s))
            {
                return string.Empty;
            }
            char[] a = s.ToCharArray();
            a[0] = char.ToLower(a[0]);

            return new string(a);
        }

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.