我的第二个HelloWrold.

using System;

namespace ConsoleApplication5
{
class HelloWorld
{
public void Show()
{
Console.WriteLine("Hello World!");
}
}

///

1<summary>   
2/// Class1 的摘要说明。   
3/// </summary>

class Class1
{
///

1<summary>   
2/// 应用程序的主入口点。   
3/// </summary>

[STAThread]
static void Main(string[] args)
{
HelloWorld h=new HelloWorld();
h.Show();
//
// TODO: 在此处添加代码以启动应用程序
//
}
}
}

Published At
Categories with Web编程
Tagged with
comments powered by Disqus