位置于:首页>>网页设计>>ASP.NET>>正文
 DLL的应用。

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: 在此处添加代码以启动应用程序 // } }}内部:http://xp163.com/
 DLL的应用。站内说明
 最新站点内更新

 

 书籍教程站内推荐信息
 书籍教程网站地图