C# DllMain
Is there any way to give a DllMain to C#
I'm tried with Static Constructor:
Injected into CrossFire but don't really seem to work...
I'm tried with Static Constructor:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace CodeTester
{
static class Program
{
static Program()
{
MessageBox.Show("Static Constructor");
}
static void Main()
{
MessageBox.Show("Main Method");
}
}
}
