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:
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
Post a Comment