ReverseString

Run Settings
LanguageC#
Language Version
Run Command
using System; class MainClass { public static void Main(string[] args) { string myString = "Hello There!"; Reverse(myString); } static void Reverse(string s) { string result = string.Empty; for (int i = s.Length - 1; i >= 0; i--) // going through indexes from the back { result = result + s[i]; } Console.WriteLine(result); } }
Editor Settings
Theme
Key bindings
Full width
Lines