.NET Standard

A formal specification of the APIs that are common across .NET implementations

What is .NET Standard?

There are various implementations of .NET. Each implementation allows .NET code to execute in different places—Linux, macOS, Windows, iOS, Android, and many more. .NET Standard is a formal specification of the APIs that are common across all these .NET implementations.

.NET Standard allows libraries to build against the agreed on set of common APIs, ensuring they can be used in any .NET application—mobile, desktop, IoT, web, or anywhere you write .NET code.

.NET Standard documentation

.NET Standard versions

.NET Standard is versioned. Each new version adds more APIs. When a library is built against a certain version of .NET Standard, it can run on any .NET implementation that implements that version of .NET Standard (or higher).

Targeting a higher version of .NET Standard allows a library to use more APIs but means it can only be used on more recent versions of .NET. Targeting a lower version reduces the available APIs but means the library can run in more places.

.NET Standard support for each implementation of .NET
.NET Implementation Version Support
.NET and .NET Core 1.0 1.1 2.0 2.1 2.2 3.0 3.1 5.0 6.0 7.0 8.0 9.0
.NET Framework 4.5 4.5.1 4.5.2 4.6 4.6.1 4.6.2 4.7 4.7.1 4.7.2 4.8 4.8.1
Mono 4.6 5.4 6.4
Xamarin.iOS 10.0 10.14 12.16
Xamarin.Android 7.0 8.0 10.0
Universal Windows Platform 8.0 8.1 10.0 10.0.16299 TBD
Unity 2018.1 2021.2

Ready to get started?

Learn .NET easily with our step-by-step tutorials.

Get started