MyClass
Commr.MyClass
ICommr
Assembly myDllAssembly = Assembly.LoadFile(@"D:\commr.dll"); ICommr valCommr =(ICommr)myDllAssembly.CreateInstance("Commr.MyClass"); string str = valCommr.GetSetting();
Unable to cast object of type Commr.MyClass' to type 'LoadAssembly.ICommr'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)