命令行下: csc /target:library /out:***.dll ***.cs 转载于:https://www.cnblogs.com/cn469/archive/2007/10/16/926439.html