How to create and run C# program using CMD
174 بار بازدید -
7 سال پیش
-
Step 1: Open any text
Step 1: Open any text editor.
Step 2: Write code.
Step 3: Save the program as Name.cs and note the directory of Name.cs file.
Step 4: Open CMD: Press WinKey+R, then write cmd and press EnterKey.
Step 5: Write Command: set path=%path%;path of the Microsoft.NET Framework version, then Press EnterKey.
Step 6: Write Command: cd directory of Name.cs file Press EnterKey.
Step 7: Write Command: csc Name.cs Press EnterKey.
Step 8: Write Command: Name Press EnterKey.
Step 9: Done !
7 سال پیش
در تاریخ 1396/07/18 منتشر شده
است.
174
بـار بازدید شده