Reverse each word in a string

string inputString = "one two three four five";
string resultString = string.Join(" ", 
    inputString
    .Split(' ')
    .Select(x => new String(x.Reverse().ToArray())));
Console.WriteLine(resultString);

results matching ""

    No results matching ""