Perhaps this question sounds silly, but why and Besides, which one has been liked to use and why? non-normal The common version is similar to all the generic interfaces - it is safe and more clearly, the document structure types do not need to be processed in a general way, when they have any the IComparable interface is present?
narrow was added to version 1.1, before generic Was launched, while
IComparer & lt; T & gt; was added with Generic in version 2.0.
object For arguments such as
IComparable.CompareTo , there is also a performance gain.
No comments:
Post a Comment