I want a shortest way to get 1st char of every word in a string in C#.
what I have done is:
string str = \"This is my style\"; string [] output = str
Print first letter of each word in a string
string SampleText = "Stack Overflow Com"; string ShortName = ""; SystemName.Split(' ').ToList().ForEach(i => ShortName += i[0].ToString());
Output:
SOC