[Recommended] lightweight heavyweight. NET development tool snippet Compiler

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.