From c1fc82021e0fbf242bc9d9b51ff4718dc2ed6eb8 Mon Sep 17 00:00:00 2001 From: Imi <27138272+iminet@users.noreply.github.com> Date: Wed, 25 Jan 2023 20:43:03 +0100 Subject: [PATCH] Update Program.cs --- csharp/Dotnetservice/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/csharp/Dotnetservice/Program.cs b/csharp/Dotnetservice/Program.cs index ecc7209..62a78a0 100644 --- a/csharp/Dotnetservice/Program.cs +++ b/csharp/Dotnetservice/Program.cs @@ -1,3 +1,9 @@ +// ============================================================================================== +// For testing windows service with .NET 5 +// Source: https://stackoverflow.com/questions/7764088/net-console-application-as-windows-service +// ============================================================================================== + + using System.ServiceProcess public static class Program