A tool to run C# code snippets easily
Posted: (EET/GMT+2)
Sometimes, I find the need to run short pieces of C# code. Of course, I could fire up Visual Studio, write a simple console application (or a classic WinForms application with only a single button) and write my code there.
Although that works, but there's also a more convenient way to do that. I recently found out about a free utility called C# Snippet Compiler, which can be downloaded here (for .NET 2.0). This tool looks like a good way to solve those issues where you want to run short code snippets easily. I would guess the tool uses the Microsoft.Build.* namespaces, or the older Microsoft.CSharp namespace, which was the way to access the C# compiler in .NET 1.1.