public static void Main()
foreach (string word in words)
Console.WriteLine("Input: {0} Output: {1}", word, ReverseWord(word));
static string ReverseWord(string word)
return string.Join("", word.Reverse());
static string ReverseWordClassic(string word)
string reverseWord = string.Empty;
for (int i = word.Length - 1; i >= 0; i--)