Reverses a string
private static string ReverseString(string s) { char[] chars = s.ToCharArray(); Array.Reverse(chars); return chars.ToString(); }