You know the Immediate Window in Visual Studio? If you don't, I hope you'll start working with it right after reading this post - it's a MUST for debugging. Simply put (and it's simple, really), it allows you to evaluate expressions about the currently running application. These expressions are written in simple (say C#) code syntax and can be much more elaborated than just querying a property (like the Watch Window). It's almost like a scripting tool that is available while you're debugging, which compiles on the fly.
That's exactly where my problem is - it's only available at run-time. What I would like is a scripting engine that would receive C# code, compile it on the fly, and give me the output. And I want it from the command line (with intellisense and all)!!!
I am lazy, and I don't like to have to learn yet another scripting tool to get things done. I have been using Matlab a lot lately, which made me feel how nice and simpler life is when you can use the same syntax for scripting and for writing applications. Matlab is a scripting language. With the command line of Matlab you can do anything you can also do in m-files (files holding Matlab code). So when you just want to test a few things, you can check it with the command line, and once you got the results you like, you can copy-paste it into some persistent files (which you can then embellish and structure). When you have a lot of testing going on, it's a real cool feature. It's also nice if you just want to see the result of something, without needing to persist it into a file at all.
I want this, and I want it now!!!