Strings In Depth17 / 18
Up next

Reverse via char array

var s = "abc";
char[] chars = s.ToCharArray();
Array.Reverse(chars);
// rebuild a string from the chars
Console.WriteLine(new string(chars));
What you're solving

ToCharArray, Array.Reverse, new string