From ed36f4e74733c99b6d1b93d05321cf0c0044be28 Mon Sep 17 00:00:00 2001 From: tymmkang Date: Sun, 7 Dec 2025 04:14:03 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8B=B1=EA=B8=80=ED=86=A4=20=ED=81=B4?= =?UTF-8?q?=EB=9E=98=EC=8A=A4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WarhoundConsole/Program.cs | 2 +- WarhoundConsole/Singleton.cs | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 WarhoundConsole/Singleton.cs diff --git a/WarhoundConsole/Program.cs b/WarhoundConsole/Program.cs index 096f9b8..11d9691 100644 --- a/WarhoundConsole/Program.cs +++ b/WarhoundConsole/Program.cs @@ -20,7 +20,7 @@ namespace WarhoundConsole private static void MainInternal(string[] args) { - + Singleton.I.Initialize(); } } } diff --git a/WarhoundConsole/Singleton.cs b/WarhoundConsole/Singleton.cs new file mode 100644 index 0000000..6507889 --- /dev/null +++ b/WarhoundConsole/Singleton.cs @@ -0,0 +1,18 @@ +namespace WarhoundConsole +{ + public sealed class Singleton + { + public static Singleton I => i ??= new(); + private static Singleton? i = null; + + private Singleton() + { + + } + + public void Initialize() + { + + } + } +}