IComparer<(Of <(<'T>)>)> Interface
Defines a method that a type implements to compare two objects.
Namespace:
System.Collections.GenericAssembly: Bridge (in Bridge.dll)
Syntax
[NamespaceAttribute] [ExternalAttribute] public interface IComparer<T>
<NamespaceAttribute> _ <ExternalAttribute> _ Public Interface IComparer(Of T)
[NamespaceAttribute] [ExternalAttribute] generic<typename T> public interface class IComparer
Type Parameters
- T
- The type of objects to compare.This type parameter is contravariant. That is, you can use either the type you specified or any type that is less derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.