From time to time I need to try something out in C# in a few lines of code. It's always a bit of a pain setting up a new Visual Studio solution for the purpose (I've traditionally used a PlayPen project for this). I've recently discovered this little gem: SnippetCompiler. It's essentially a mini-IDE for just this situation. Smashing!