3 ms·
In C# I believe you can optionally mark generic classes/methods as covariant or contravariant. Is that not enough or does it not get exposed in the CLR or some
by jayd16 5y ago
In C# I believe you can optionally mark generic classes/methods as covariant or contravariant. Is that not enough or does it not get exposed in the CLR or something?
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/in-generic-modifier https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/out-generic-modifier https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...