Covariance
Allowing a more specific generic result type to be used where a broader type is expected.
What is Covariance in C#?
Covariance — Allowing a more specific generic result type to be used where a broader type is expected.
interface IFactory<out T>
{
T Create();
}
Level: Freelancer · More C# terms at this level
Updated