المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Component Versioning and the CLR



C# Programming
12-02-2011, 10:49 AM
I hate to admit that I still don't fully understand what happens when it comes to .NET versioning.

If I want to use an Infragistics control that was compiled against the 2.0 framework, in a 4.0 project, does this cause a mix of 2.0 and 4.0 objects in the same runtime environment?

For instance, if the 2.0 control creates a new Rectangle object, is that a version 2.0 Rectangle, while my 4.0 code would be creating version 4.0 Rectangles?

Or does all the code in the process run against version 4.0 objects?



The difficult we do right away...
...the impossible takes slightly longer.