生成.dll资料

生成.dll文件方法1.用c盘windows下的Microsoft.NET目录中csc.exe生成命令行csc /target:library /out:Samp

生成.dll文件

方法1.用c盘windows下的Microsoft.NET目录中csc.exe生成
命令行csc /target:library /out:SampleLibrary.DLL Sample1.cs Sample2.cs 可以生成DLL文件.

方法2.新建一个类库的项目
项目属性的application设置中将output type 设置为Class Library.