From dbdad087f537fea26156554201ece861c6fe04d2 Mon Sep 17 00:00:00 2001 From: dcsync Date: Tue, 13 Nov 2018 02:54:01 +0000 Subject: [PATCH] Add args to Main/Execute definition This allows code within the Main/Execute function to take arguments. --- src/SharpGen.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SharpGen.cs b/src/SharpGen.cs index f00ffff..f4db15f 100644 --- a/src/SharpGen.cs +++ b/src/SharpGen.cs @@ -437,7 +437,7 @@ private static string RandomString() public static class {0} {{ - static {1} {2}() + static {1} {2}(string[] args) {{ {3} }}