Talk:Covariant return type

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Error[edit]

I think this is wrong: the overriding return type must be a sub-type of the original type, not any related type, or usually subtype. Always a subtype. That's why it is called covariant. Or am I mistaken? Jirka6 (talk) 13:31, 28 November 2007 (UTC)[reply]

The facts have changed since the introduction of generics in C#.[edit]

This article shall be updated for consistency with this other article: Covariance and contravariance_(computer science)#Generic types

67.201.57.5 (talk) 21:49, 18 December 2013 (UTC)[reply]