What's so great about Func<> delegate?

前端 未结 6 650
迷失自我
迷失自我 2020-12-12 13:57

Sorry if this is basic but I was trying to pick up on .Net 3.5.

Question: Is there anything great about Func<> and it\'s 5 overloads? From the looks of it, I can

6条回答
  •  醉话见心
    2020-12-12 14:36

    Though it is an old thread I had to add that func<> and action<> also help us use covariance and contra variance.

    http://msdn.microsoft.com/en-us/library/dd465122.aspx

提交回复
热议问题