How to Convert a string into Title Case in .Net C#

Solution:

LabelName.Text = System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase((“amit KUMAR”).ToLower());

Result:

Amit Kumar

Advertisements