diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/.vs/SingletonPattern/DesignTimeBuild/.dtbcache.v2 b/DesignPattern/Singleton_CSharp/SingletonPattern/.vs/SingletonPattern/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 00000000..b80b0be9
Binary files /dev/null and b/DesignPattern/Singleton_CSharp/SingletonPattern/.vs/SingletonPattern/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/.vs/SingletonPattern/v16/.suo b/DesignPattern/Singleton_CSharp/SingletonPattern/.vs/SingletonPattern/v16/.suo
new file mode 100644
index 00000000..60386add
Binary files /dev/null and b/DesignPattern/Singleton_CSharp/SingletonPattern/.vs/SingletonPattern/v16/.suo differ
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern.sln b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern.sln
new file mode 100644
index 00000000..d5d4ae54
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.31727.386
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingletonPattern", "SingletonPattern\SingletonPattern.csproj", "{1D291EEF-B4FD-48F7-9587-6D58B646954E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {1D291EEF-B4FD-48F7-9587-6D58B646954E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1D291EEF-B4FD-48F7-9587-6D58B646954E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1D291EEF-B4FD-48F7-9587-6D58B646954E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1D291EEF-B4FD-48F7-9587-6D58B646954E}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A8359B11-3CCC-4FE9-B71D-42B6768AC973}
+ EndGlobalSection
+EndGlobal
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/.vs/SingletonPattern/DesignTimeBuild/.dtbcache.v2 b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/.vs/SingletonPattern/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 00000000..7de37653
Binary files /dev/null and b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/.vs/SingletonPattern/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/.vs/SingletonPattern/v16/.suo b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/.vs/SingletonPattern/v16/.suo
new file mode 100644
index 00000000..2d8f7ac9
Binary files /dev/null and b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/.vs/SingletonPattern/v16/.suo differ
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/ExampleSingelton.cs b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/ExampleSingelton.cs
new file mode 100644
index 00000000..9ecf078f
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/ExampleSingelton.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace SingletonPattern
+{
+ public class ExampleSingleton
+ {
+ private static ExampleSingleton exampleSingleton;
+
+ public string exampleText { get; set; }
+
+ private ExampleSingleton()
+ {
+ exampleText = "This is a example Text within the Singelton Instance.";
+ }
+
+ public static ExampleSingleton GetExampleSingeltonInstance()
+ {
+ if (exampleSingleton == null)
+ {
+ exampleSingleton = new ExampleSingleton();
+ }
+
+ return exampleSingleton;
+ }
+ }
+}
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/Program.cs b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/Program.cs
new file mode 100644
index 00000000..f654a16d
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/Program.cs
@@ -0,0 +1,14 @@
+using System;
+
+namespace SingletonPattern
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ //You get the global Instance of the exampleClass by Calling the Static GetExampleSingletonInstance Method declared in the Singleton class
+ var exampleSingleton = ExampleSingleton.GetExampleSingeltonInstance();
+ Console.WriteLine(exampleSingleton.exampleText);
+ }
+ }
+}
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/SingletonPattern.csproj b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/SingletonPattern.csproj
new file mode 100644
index 00000000..9acff6d2
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/SingletonPattern.csproj
@@ -0,0 +1,8 @@
+
+
+
+ Exe
+ netcoreapp3.1
+
+
+
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.dgspec.json b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.dgspec.json
new file mode 100644
index 00000000..46550a96
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.dgspec.json
@@ -0,0 +1,72 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingeltonPattern\\SingeltonPattern\\SingeltonPattern.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingeltonPattern\\SingeltonPattern\\SingeltonPattern.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingeltonPattern\\SingeltonPattern\\SingeltonPattern.csproj",
+ "projectName": "SingeltonPattern",
+ "projectPath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingeltonPattern\\SingeltonPattern\\SingeltonPattern.csproj",
+ "packagesPath": "C:\\Users\\andre\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingeltonPattern\\SingeltonPattern\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\andre\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.NETCore.App.Host.win-x64",
+ "version": "[3.1.18, 3.1.18]"
+ }
+ ],
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100-rc.1.21463.6\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.g.props b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.g.props
new file mode 100644
index 00000000..abd2a556
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.g.props
@@ -0,0 +1,19 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\andre\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ PackageReference
+ 5.11.1
+
+
+
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.g.targets b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.g.targets
new file mode 100644
index 00000000..53cfaa19
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingeltonPattern.csproj.nuget.g.targets
@@ -0,0 +1,6 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.dgspec.json b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.dgspec.json
new file mode 100644
index 00000000..47494fb1
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.dgspec.json
@@ -0,0 +1,72 @@
+{
+ "format": 1,
+ "restore": {
+ "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj": {}
+ },
+ "projects": {
+ "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj",
+ "projectName": "SingletonPattern",
+ "projectPath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj",
+ "packagesPath": "C:\\Users\\andre\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\andre\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.NETCore.App.Host.win-x64",
+ "version": "[3.1.18, 3.1.18]"
+ }
+ ],
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100-rc.1.21463.6\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.g.props b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.g.props
new file mode 100644
index 00000000..abd2a556
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.g.props
@@ -0,0 +1,19 @@
+
+
+
+ True
+ NuGet
+ $(MSBuildThisFileDirectory)project.assets.json
+ $(UserProfile)\.nuget\packages\
+ C:\Users\andre\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
+ PackageReference
+ 5.11.1
+
+
+
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.g.targets b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.g.targets
new file mode 100644
index 00000000..53cfaa19
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/SingletonPattern.csproj.nuget.g.targets
@@ -0,0 +1,6 @@
+
+
+
+ $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
+
+
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/project.assets.json b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/project.assets.json
new file mode 100644
index 00000000..784a8069
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/project.assets.json
@@ -0,0 +1,78 @@
+{
+ "version": 3,
+ "targets": {
+ ".NETCoreApp,Version=v3.1": {}
+ },
+ "libraries": {},
+ "projectFileDependencyGroups": {
+ ".NETCoreApp,Version=v3.1": []
+ },
+ "packageFolders": {
+ "C:\\Users\\andre\\.nuget\\packages\\": {},
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
+ },
+ "project": {
+ "version": "1.0.0",
+ "restore": {
+ "projectUniqueName": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj",
+ "projectName": "SingletonPattern",
+ "projectPath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj",
+ "packagesPath": "C:\\Users\\andre\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\obj\\",
+ "projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
+ "configFilePaths": [
+ "C:\\Users\\andre\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+ ],
+ "originalTargetFrameworks": [
+ "netcoreapp3.1"
+ ],
+ "sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "https://api.nuget.org/v3/index.json": {}
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "projectReferences": {}
+ }
+ },
+ "warningProperties": {
+ "warnAsError": [
+ "NU1605"
+ ]
+ }
+ },
+ "frameworks": {
+ "netcoreapp3.1": {
+ "targetAlias": "netcoreapp3.1",
+ "imports": [
+ "net461",
+ "net462",
+ "net47",
+ "net471",
+ "net472",
+ "net48"
+ ],
+ "assetTargetFallback": true,
+ "warn": true,
+ "downloadDependencies": [
+ {
+ "name": "Microsoft.NETCore.App.Host.win-x64",
+ "version": "[3.1.18, 3.1.18]"
+ }
+ ],
+ "frameworkReferences": {
+ "Microsoft.NETCore.App": {
+ "privateAssets": "all"
+ }
+ },
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.100-rc.1.21463.6\\RuntimeIdentifierGraph.json"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/project.nuget.cache b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/project.nuget.cache
new file mode 100644
index 00000000..5c161407
--- /dev/null
+++ b/DesignPattern/Singleton_CSharp/SingletonPattern/SingletonPattern/obj/project.nuget.cache
@@ -0,0 +1,10 @@
+{
+ "version": 2,
+ "dgSpecHash": "LA5GKSdzUu5hWQ45SaQ8jz5WHYA/AR+dffOHfdKdmr6636tqHZt5AgUMqzYCtY9JnlGXacs/wj2xaknd3WEf9g==",
+ "success": true,
+ "projectFilePath": "C:\\Users\\andre\\Documents\\Repositories\\Hacktoberfest21\\Hacktoberfest2021\\Contributions\\SingletonPattern\\SingletonPattern\\SingletonPattern.csproj",
+ "expectedPackageFiles": [
+ "C:\\Users\\andre\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\3.1.18\\microsoft.netcore.app.host.win-x64.3.1.18.nupkg.sha512"
+ ],
+ "logs": []
+}
\ No newline at end of file