










哈哈哈~看代码:)想必单件模式大家都非常熟悉:)
namespace Singleton1
{
class Program
{
static void Main(string[] args)
{
for (int i = 0; i < 10; i++)
{
Factory.RecordCount();
}
Factory.Display();
global::System.Console.Read();
}
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。