C # add-in for visual studio

I came from the lisp background, where I could enter fragments on the command line during coding, to make sure that for the first time I get a small piece of code. It is great for testing string formatting, simple math calls, etc. Without having to recompile the entire project to check for small changes.

Is there a function or add-in in visual studio 2010 to get this type of function, for example, a viewport that runs when you are not actually running the program?

+5
source share
4 answers

You can use the Intermediate window to evaluate things (in debug mode). However, I would suggest LinqPad , it has basic code execution on the fly.

+5
source

Like the LinqPad mentioned by Aren, you can watch Mono CsharpRepl .

I don’t know if one of them has Visual Studio add-ons, but this is an interesting thought ...

+3
source

I usually use LinqPad, but have you tried the closest window? Personally, this is good for creating a unit test.

+2
source

Another one you should check out is Snippet Compiler

+1
source

All Articles