Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Interactive vs Immediate Window. Differences, purposes and use-cases

These two windows look pretty similar to me, though I've found some differences in using them. Can somebody please explain what the main differences are and what purposes the windows serve?

like image 718
Razor23 Donetsk Avatar asked Jul 29 '19 11:07

Razor23 Donetsk


1 Answers

Immediate window is needed when you want to do some manipulations in the context of your program during the debug. Use variables that already exist, methods, etc.

Also, C# Interactive comes from Visual Studio 2015 update 1 release. C# Interactive is a REPL Editor, i.e. Read-Evaluate-Print-Loop with an advanced editor.

like image 163
PWND Avatar answered Oct 09 '22 04:10

PWND