First we have to learn to use the framework of the CSC editor with the C # Editor, first of all, configure the environment, if we want to be in the CMD command window to edit, we have to install the. NET Framework and then find c:\WINDOWS\Microsoft.NET\ Framework\ When you enter this directory, there will be a lot of versions for you to choose from, you are best to choose the latest version, and then go in, you will find csc.exe and then the path of the time to copy.
Then go to your desktop and find your computer icon, then right-click to select Properties, then select Advanced, then click on the environment variable and then locate the path, then click Edit, then paste the path you just copied to the front and remember to add; Must be English.
This time you can open cmd and then input CSC can be recognized at this point, and then you, first use Notepad to write a small program to run the
Using System;
Namespace HelloWorld
{
class program
{
//SVM Double-click tab
static void Main (string[] args)
{
//CW Double-click Tab
Console.WriteLine ("Hello.") Jor. SMITH ");
View local function Content Click Function Press F12
//view online function specific content click Function Press F1
//Object Browser Use}}////
run F5
//debug CTRL + F5
The first box is used to test whether it can be used, if your CSC is configured successfully, the second box is used to run the first CSC and then the path is the path to your program text remember to change your program text suffix to C # special suffix. After the CS run, the. exe instruction set will be run by default. Line, is also through the CMD CSC running direct Input program name does not need a suffix and then can run.