• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Visual Studio 2k5 - Interactive Window?

SinNisTeR

Diamond Member
Is there a way to add an interactive window to visual studio for C# like you can for F#? I've gotten used to doing a lot of Scheme recently and DrScheme has a wonderful interactive window where you can test out bits of code without debugging. This would do wonders for me in C#. I know there is one when you're debugging, but I'm trying to skip entering into the debugger if possible.

edit: typo
 
What your describing is typically done with scripting languages (and not done with compiled languages) in which you have a command line window or something like that and can run a few lines of code just to see how it will react. I know Ruby (and Ruby.net or whatever it's called) does this, but I don't believe I've seen the feature in VS 2008. You could always make your own scripting program or use one from http://www.codeproject.com/.
 
Originally posted by: Noobsa44
What your describing is typically done with scripting languages (and not done with compiled languages) in which you have a command line window or something like that and can run a few lines of code just to see how it will react. I know Ruby (and Ruby.net or whatever it's called) does this, but I don't believe I've seen the feature in VS 2008. You could always make your own scripting program or use one from http://www.codeproject.com/.

There is an open source project that does it for C#, but it uses Mono. He asked specifically for VS2k5 though.
 
Originally posted by: programmer
The debugger is your friend 🙂

It's not that I don't like/use the debugger.. It's that I don't want to compile and execute it to run a bit of code. Especially if the code I'm working on takes quite a bit of setup to be able to test.

Thanks for the recommendation Markbnj. I'm going to try it now.
 
Back
Top