Generics are not covariant :C# and Java
Two articles, one about C# and one about Java:
http://www.ibm.com/developerworks/java/library/j-jtp01255.html
http://www.fotia.co.uk/fotia/DN.01.CoVariantGenericList.aspx
Two articles, one about C# and one about Java:
http://www.ibm.com/developerworks/java/library/j-jtp01255.html
http://www.fotia.co.uk/fotia/DN.01.CoVariantGenericList.aspx