What .NET Framework and C# version should I target with my class library?

后端 未结 12 973
故里飘歌
故里飘歌 2020-12-29 11:04

I\'m building a DLL class library - I want to make it usable by as many people as possible. Which version of the .NET Framework and which C# version should I use? Is it po

12条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-29 11:37

    I would target version 2.0 with the library containing the core functions and add an extra library targeting 3.5 to add some extension methods based on your core library.

提交回复
热议问题