Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 25, 2021
Embed
What would you like to do?
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