老图书馆编写.NET Framework中2使用in.Net 4图书馆、NET、Framework、in

2023-09-03 01:37:54 作者:鸽屿

我在使用C#.NET没有经验。我有一个小问题。我已经写在.net框架2.图书馆,我将能够导入它,使用它在.net Framework 4中?

I have no experience in using C# .Net. I have one small question. I have a library written in .Net framework 2. Will i be able to import it and use it in .Net framework 4 ?.

推荐答案

是的,你可以从一个更高的框架版本的应用程序引用2.0类库,而不是周围的其他方式。

Yes, you can reference a 2.0 class library from an application of a higher framework version, but not the other way around.