Reflection load assembly and get class

We want to load a class defined in an assembly test.dll with a default namespace: "Test", a class name "TestClass".
For this we would load the assembly with Assembly.LoadFile and search for this type:
"Test.TestClass".
But then, what happens if we make it more complicate:
Now we have class "TestInternalClass" defined in "TestClass"

public class TestClass
{
 public class TestInternalClass
 {
 }
}

}
Now have to use this syntax:
"Test.TestClass+TestInternalClass"

Post a Comment

Previous Post Next Post