Force casting one assembly type to another assembly type in c#

Posted by AareP on Stack Overflow See other posts from Stack Overflow or by AareP
Published on 2010-05-11T21:10:29Z Indexed on 2010/05/11 21:14 UTC
Read the original article Hit count: 299

Filed under:
|
|

Is there a way to force-cast between different types of different assemblies? I need to execute a function, whose assembly has been loaded with Assembly.Load(ReadAllBytes(...)), but it fails in argument casting. So, is there any way to "reinterpret_cast" objects in c#?

© Stack Overflow or respective owner

Related posts about casting

Related posts about c#