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 !
آی-ویدئو