Created
May 25, 2021 11:01
-
-
Save lgolubyev/88d5f8051fd15df663fe147bf4358bb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using system; | |
using System.Runtime.CompilerServices; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine($"Data={Data}"); | |
} | |
public static string Data; | |
[ModuleInitializer] | |
public static void Init() | |
{ | |
Data="This static method is invoked before any other method in the module"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment