/*
Instructions
------------
Reverse the string and output the result.
For the purposes of this exercise, please avoid using Array.Reverse().
*/
using System;
public class Program
{
public void Main()
string str = "Reverse me!!";
// My answer...
char[] arrayFromStr = new char[str.Length];
int idx = 0;
for (int i = str.Length - 1; i >= 0; i--)
arrayFromStr[idx++] = str[i];
};
Console.WriteLine("Answer: {0}", new string(arrayFromStr));
}