T
Tony Maresca
Given:
public class MyClass
{
private MyClass() {}
static MyClass()
{
//..
}
}
How can I make the runtime call the static c'tor
without creating an instance of the class?
TIA.
--
Tony M.
public class MyClass
{
private MyClass() {}
static MyClass()
{
//..
}
}
How can I make the runtime call the static c'tor
without creating an instance of the class?
TIA.
--
Tony M.