C # How to run in the DCP:
1. Go to the appropriate directory CD D:\1
2. Input Csc/target:exe 2.cs or Csc/t:exe 2.cs or CSC 2.cs
Methods for referencing external assemblies inside: Csc/r:system.windows.forms.dll 2.cs
referencing multiple external assemblies: Csc/r:system.windows.forms.dll; System.Drawing.dll 2.cs
Compiling multiple source files: csc/r:system.windows.forms.dll; System.Drawing.dll T.cs 2.cs
The response file for C # contains all the instructions to be used during the compilation of the current program.
How to create a response file: Csc/target:exe/out:2.exe *.cs
How to run the response file: csc @2.rsp
The C # compiler has a default response file, typically the default file in and csc.exe in a directory (such as:c:\windows\mincrosoft.net\framework\<version>), the default response file contains a lot of cores. NET, such as various libraries used in web development, LINQ, database access, and so on. When the response file is run, the default response file is automatically referenced. If you want to cancel the default response file (CSC.RSP), you can do this when you run the response file: csc @2.rsp/noconfig
C # learning Note 2 C # Some of the commands run at the bottom