Referencing Multiple External Assemblies
On a related note, what if you need to reference numerous external assemblies using csc.exe?
Simply list each assembly using a semicolon-delimited list. You don’t need to specify multiple exter-
nal assemblies for the current example, but some sample usage follows:
csc /r:System.Windows.Forms.dll;System.Drawing.dll *.cs
Compiling Multiple Source Files
The current incarnation of the TestApp.exe application was created using a single *.cs source code
file. While it is perfectly permissible to have all of your .NET types defined in a single *.cs file, most
projects are composed of multiple *.cs files to keep your code base a bit more flexible. Assume you
have authored an additional class contained in a new file named HelloMsg.cs:
Do'stlaringiz bilan baham: |