Wednesday, 9 December 2015

To change String in Title case


System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase("my name is xyz")

Output-My Name Is Xyz

its will convert first later of string cap case . 

No comments:

Post a Comment