String reversing in C# using a stack.