I am migrating to .net 3.5 and I want 开发者_如何学编程to know whether I can call from my 3.5 application, old .net 2.0 dll's methods?
Some external API's are in .net 2.0 dll. So I need those.
Kindly let me know. Thanks.
Yes. You can do that.
.NET 3.5 is nothing more than .NET 2.0 SP2 with some additional assemblies. This means that .NET 3.5 is .NET 2.0, to a large extent.
Yes, .NET remains compatible with old versions. There might be some obsolete code but it will still work. Only before 2.0 there can be compatibility issues.
Yes.
Genrally, you can run .Net 2.0 applications on a computer with newer versions of .Net, and using a DLL isn't different.
Sure, both are managed code soit should work as calling .net 3.5 assembly.
精彩评论