using System;
using System.Text;
using System.Threading;
using System.Collections;
namespace MyApp
{
/// <summary>
/// 应用程序类。
/// </summary>
public class Program
{
static void Main()
{
Console.WriteLine("Press Enter to terminate...");
Worker aWorker = new Worker();
aWorker.Start();
Console.ReadLine();
}
}
/// <summary>
/// 工作者类。
/// </summary>
public class Worker
{
public Worker()
{
}