Stuff below is an an assembly name an Stuff.Bar.Foo a class.
ObjectHandle objectHandle = Activator.CreateInstance("Stuff", "Stuff.Bar.Foo"); Foo foo = (Foo)objectHandle.Unwrap();
No comments:
Post a Comment