Monday, January 13, 2014

Interesting point in covariance

passing a list<string> to a param that expects list<object> fails
but passing an object who's class is a:List<string> to a param that expects List<string> is ok

No comments:

Post a Comment