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