You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
429 B
22 lines
429 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Singleton
|
|
{
|
|
/*
|
|
* 카테고리: 생성패턴
|
|
* 개요: 하나의 클래스가 유일한 하나의 인스턴스만 갖도록 제한하고 전역에서 액세스 할 수 있게 함
|
|
*/
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Client.HowToTest();
|
|
|
|
Console.ReadKey();
|
|
}
|
|
}
|
|
}
|
|
|