Use NotePad ++ to run lightweight C # code

Source: Internet
Author: User

Sometimes I want to experiment with a small feature in C # code and have to open Visual Studio, but it is too heavyweight. If the computer performance is average, I have to wait for half a day to open Visual Studio, here we can use notepad ++ to run the new file hello in notepad ++. run cs and F5 and configure command line [plain] cmd/k c: \ windows \ Microsoft. NET \ Framework \ v4.0.30319 \ csc.exe/t: exe/out: Paths (full_current_pathcmd.exe $ (FULL_CURRENT_PATH) & $(full_current_pathcmd.exe file content is as follows: [csharp] using System; public class Program {static void Main () {Console. writeLine ("hello c #") ;}} output [plain] www. 2ct O. comMicrosoft (R) Visual C #2010 compiler 4.0.30319.1 copyright (C) Microsoft Corporation. All rights reserved. Hello c #

Related Article

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.