Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I know little bit about the CoVariance and Contravariance in C#.
I am having only concern in this is,
When to Use ?
upon using what benefits a programmer gets ?
under which level of context we use these concepts i just want to know?

If possible detail of generic delegate ie Func<t....,tresult>

Please suggest on this.

Thanks
Vamsi krishna
Posted

1 solution

Marc explained about this in his article & ask him if you have any questions
C# Language Features, From C# 2.0 to 4.0 - Covariance and Contravariance[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900