do D support something like C# 4.0 co/contra-variance?

Sean Reque seanthenewt at yahoo.com
Fri Oct 15 05:49:33 PDT 2010


Java doesn't have variant generic type parameters. Wildcard types in Java are NOT the same thing and are certainly not more powerful. C# doesn't have wildcard types because it doesn't implement generics with erasure. See http://stackoverflow.com/questions/527766/what-is-the-equivalent-of-java-wildcards-in-c-generics.


More information about the Digitalmars-d mailing list