【 tulaoshi.com - ASP.NET 】
                             
                             csc /target:library OutPut.cs
csc /reference:OutPut.dll class1.cs 
一:
 using System;
 public class OutPut
 {
 private string OutPutWord;
 public OutPut(string OutWord)
 {
 OutPutWord=OutWord;
 Console.WriteLine(OutPutWord);
 }
 }
二:
using System;
namespace ConsoleApplication5
{
 /// 
 /// Class1 的摘要说明。
 ///  class Class1
 {
 /// 
 /// 应用程序的主入口点。
 ///  [STAThread]
 static void Main(string[] args)
 {
 OutPut h=new OutPut("HelloWorld!");
 // TODO: 在此处添加代码以启动应用程序 // } }}