B
BrianGenisio
This is purely an academic question for me... I don't actually need to
do it, but I am trying to figure out it might be done.
Lets say I have a singleton class... meaning the constructor is
private, and GetInstance is public static.
How do I use late binding to call the static method? All I see, is
that I can use an Activator to CreateInstance on a type, but in this
case, the ctor is private.
How can this be done?
Thanks,
Brian
do it, but I am trying to figure out it might be done.
Lets say I have a singleton class... meaning the constructor is
private, and GetInstance is public static.
How do I use late binding to call the static method? All I see, is
that I can use an Activator to CreateInstance on a type, but in this
case, the ctor is private.
How can this be done?
Thanks,
Brian