3 ms·
The lack of wildcard types in C# consistently bothers me when I use it.
by eropple 13y ago
The lack of wildcard types in C# consistently bothers me when I use it.
- bruceboughton 13y agoIt looks to me like C# supports everything from http://docs.oracle.com/javase/tutorial/extra/generics/wildcards.html http://docs.oracle.com/javase/tutorial/extra/generics/wildca... using generic type constraints: http://msdn.microsoft.com/en-us/library/bb384067.aspx http://msdn.microsoft.com/en-us/library/bb384067.aspx What am I missing?
- benjiweber 13y agoThey added Covariance and Contravariance of generic type parameters in 4. http://msdn.microsoft.com/en-us/library/dd799517%28v=vs.110%29.aspx http://msdn.microsoft.com/en-us/library/dd799517%28v=vs.110%...