Code Snippet Compilation Tool
1. Tools overview
Snippet compiler is a small windows-based application that you can use to write, compile, and run code. Now snippet Compiler has supported the. NET Framework 3.5, the latest version is snippet Compiler Live 2008 Ultimate Edition for Developers (Alpha).
Official homepage: http://www.sliver.com/dotnet/SnippetCompiler/
2. Application Scenarios
If you have a small code snippet and you do not want to create a complete Visual studio project and all the files that come with the project, this is where the use of snippet compiler is. If we want to write the code snippet with Notepad, not only does not have the Intelligent prompt function, error-prone, after writing completes also needs to use the command line to compile, is a very troublesome matter; If you create a visual Stuido project, you feel that creating a visual for a very small piece of code Some of the studio projects are not worth it, which is the strength of snippet compiler.
3. Use the Introduction
After downloading the snippet compiler, you do not need to install, you can run the executable file directly. In the first run, it prompts you to create a shortcut, the default language is C #, and you can write your code snippet directly in the Runsnippet () method, as shown in the following illustration:
After writing the code, if you want to test, click the Start button on the toolbar directly, as shown in the following image, and will display the compile error or output in the errors and output windows: