cmd - How to run c# code using notepad++? -


i have trouble executing code have written in notepad++. have researched online, should edit path in system variable c:\windows\microsoft.net\framework64\v4.0.30319. have changed , it's still not working. after type in test.cs, windows form pop stating windows can't open file. here image of command line:

cmd picture

here small code have written:

using system;  public class test {     static void main()     {         console.writeline("***");     } } 

after compiling c# file, execute typing name in command prompt. don't use extension again. type

test 

after compiling in cmd prompt, , you'll fine. can use

test.exe 

to run instead of test.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -