Describes a. NET development tool.
Features
Free, small size
Green, no installation
Supports. NET 1.1 and 2.0
Supports code debugging and compilation.
Code prompt supported
Easy to use
Her name is --- snippet Compiler
Compiled by Jeff key, snippet compiler is a http://www.sliver.com/dotnet/SnippetCompiler
Snippet Compiler
Snippet compiler is a Windows-based small application that allows you to write, compile, and run code. This tool is useful if you have a small code segment and you do not want to create a complete Visual Studio. NET project (and all files attached to the project.
For example, suppose I want to show you how to start another application from the Microsoft. NET Framework. In snippet compiler, I will start by creating a file that can create a small console application. You can create code snippets in the main method of the console application, which is exactly what I want to do here. The following code snippet demonstrates how to create a notepad instance from the. NET Framework:
Program code system. Diagnostics. Process proc = new system. Diagnostics. Process ();
Proc. startinfo. filename = "notepad.exe ";
Proc. Start ();
Proc. waitforexit ();
Of course, the code snippet itself cannot be compiled, and this is exactly where snippet compiler is used. Figure 1 shows the sample code in snippet compiler.
Figure 1 snippet compiler running Screen
To test the code snippet, you only need to press the play button (green triangle) to run it in debug mode. This code snippet generates a pop-up console application and displays notepad. When you close notepad, the console application will also be closed.
Personally, when I try to create a small example for someone who asks for me, I find that snippet compiler is invaluable-if you do not use this tool, then, I usually have to create a new project to ensure that each part can be compiled, send the code snippet to the helper, and finally Delete the project. Snippet compiler makes this process easier and faster.