using System;
namespace ConsoleApplication5
{
class HelloWorld
{
private string OutPut;
public HelloWorld(string OutWord)
{
OutPut=OutWord;
Console.WriteLine(OutPut);
}
}
///
1<summary>
2/// Class1 的摘要说明。
3/// </summary>
class Class1
{
///
1<summary>
2/// 应用程序的主入口点。
3/// </summary>
[STAThread]
static void Main(string[] args)
{
HelloWorld h=new HelloWorld("HelloWorld!");
// TODO: 在此处添加代码以启动应用程序
//
}
}
}