I’m trying to use Activator.CreateInstance to create an instance from a type that has an internal constructor, but it doesn’t work,
How can I create an instance of an internal class in Silverlight?
I can get the ConstructorInfo, but I can’t invoke it!!!
Does Silverlight support this?
Well, in Silverlight we can’t use
Activator.CreateInstanceto create an instance from an internal class.We should use
Type.InvokeMemberand use theBindingFlags.CreateInstance…