Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

People also ask

Is .NET Framework C?

No. The . NET Framework is a bunch of classes(libraries) abstracting some lower-level windows functionality. C and C++ are languages.

What is .NET Framework and C#?

Net framework was 1.0 which came in the year 2002. In easy words, it is a virtual machine for compiling and executing programs written in different languages like C#, VB.Net etc. It is used to develop Form-based applications, Web-based applications and Web services.

Is .NET built on C?

. NET was fully written in C and C++ because the base was in assembly language. Integration of assembly with C is much easier compared to newer languages.

Is .NET Framework the same as C#?

C# is a programming language, . NET is a blanket term that tends to cover both the . NET Framework (an application framework library) and the Common Language Runtime which is the runtime in which . NET assemblies are run.


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 possible to produce a backwards-compatible DLL or different DLLs for different versions? Or does Windows automatically update the .NET framework so I should just use the latest version? Any guidance appreciated!