C# 生成dll文件

1新建一个类库   
    或者编译的时候这样   csc   /target:library   File.cs   
  2在你的项目里添加引用这个DLL,然后再using   ...   
    或者编译时这样   csc   /lib:[Directory]   /reference:[FileName]   File.cs   
posted @ 2008-06-13 14:15  下里巴人or知己  阅读(123)  评论(0编辑  收藏  举报