I want to know how to reverse a string in C# without using any .NET built-in methods.
My initial code:
Console.WriteLine("Please enter a string");
string myString = Console.ReadLine();
The idea is to reverse the string named myString
, which we are getting via the User's Console Input.