3 ms·
You can do that in C# : https://docs.microsoft.com/en-us/dotnet/api/system.runtime.versioning.supportedosplatformattribute?view=net-5.0 https://docs.microsoft.c
by pjc50 5y ago
You can do that in C# : https://docs.microsoft.com/en-us/dotnet/api/system.runtime.versioning.supportedosplatformattribute?view=net-5.0 https://docs.microsoft.com/en-us/dotnet/api/system.runtime.v...
(Strictly it's an attribute rather than a type, but it's enforced by the compiler given a target runtime)