2
Reply

Write a program to perform in sentence each first latter of the word should be in Upper latter.?

    http://www.c-sharpcorner.com/code/2637/how-do-i-capitalize-first-letter-of-string-in-C-Sharp.aspx

    Here is a simple solution string str = "hello world";str = str.ToLower();string[] strarray = str.Split(' ');foreach(string st in strarray){char[] ch = st.ToCharArray();ch[0] = char.ToUpper(ch[0]);str += " " + new string(ch);}Console.WriteLine(str.ToString());Out put will :Hello World