Skip to main content
Normally C# is compiled before running, but you can open an interactive C# Read-eval-print loop (REPL) in Visual Studio using the following command: View->Other Windows->C# Interactive Once open, you can use it to interactively execute C# code, including OpenTD. For example: