Exploring C# through the Immediate window

Scripting languages enjoy great popularity, in part due to the immediate feedback they provide the developer. Rather than have to write code, compile it, and then execute it to see if the desired behavior occurs, many scripting languages offer a read-eval-print-loop (REPL). A REPL gives the developer the ability to watch their code execute about as fast as they can write it.

There are several advantages to this approach. First, you can explore a library or code fragment without having to first set up a new solution. Second, it allows one to experiment with different possible approaches when problem solving. By being able to quickly iterate, it can bring about a working solution more quickly.

Visual Studio ...

Get Visual Studio 2015 Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.