To Lower First Char - CSharp System

CSharp examples for System:Char

Description

To Lower First Char

Demo Code


using System.Text;
using System.Security.Cryptography;
using System.Linq;
using System.IO;//from w  w  w  .jav  a2s  .c om
using System;

public class Main{
        public static string ToLowerFirstChar(this string value)
        {
            return char.ToLower(value[0]) + value.Substring(1);
        }
}

Related Tutorials