OK, i just thought i would simplify my question a bit:
The following won't compile (missing a cast)
class Program { static void Main(string[] args) { foo f = foo.CreateMe(); } }
class foo : GenericTest class bar
|
The following, compiles but has a run time error:
class Program { static void Main(string[] args) { foo f = (foo)foo.CreateMe(); } }
class foo : GenericTest class bar
|