4 ms·
(I did not downvote you) Such jingoism adds nothing to the discourse. Someone can as easily find something in Java 1.5 that C# still doesn't have. So what does
by discardorama 13y ago
(I did not downvote you)
Such jingoism adds nothing to the discourse. Someone can as easily find something in Java 1.5 that C# still doesn't have. So what does that prove? Nothing.
- overgard 13y ago> Someone can as easily find something in Java 1.5 that C# still doesn't have. Like what?
- syjer 13y agostatic imports ?
- overgard 13y agoYou could add an extension method to object, if you want the same effect. (Although: A workaround for java's bizarre stance that no function can exist without an object doesn't really strike me as a "feature". [Granted: this criticism is equally true of C#])
- inglor 13y agoIt's in C# 6 :)
- javafu2 13y agochecked exceptions :), sorry just kidding. mainly wildcards, you can design an interface which is covariant and contravariant, and real interference when calling a generic method.
- eropple 13y agoThe 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%...