Microsoft Visual Studio is the most popular and powerful Integrated Development Environment(IDE) from Microsoft and is loaded with many features to enhance developer productivity. REPL is one such important feature. Since the VS2015 release,
REPL stands for Read-Evaluate-Print-Loop. It is basically an interactive shell that allows the programmer to run their code and see the output without compiling quickly. The Read-Eval-Print cycle is faster than the Edit-Compile-Execute cycle.
Click on the View menu from the Menu bar, go to the Other windows menu item, and click on C# interactive.
#help
to get all the important keyboard shortcuts, commands, and script directives:Ctrl+E, Ctrl+E
.#r
command, which has important features like resetting the environment, clearing the REPL window, and maintaining all executed statements.