NullComparer<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A null comparer that pretends every item is equal. This is particularly useful with stable sorts.
public sealed class NullComparer<T> : System.Collections.Generic.IComparer<T>
type NullComparer<'T> = class
interface IComparer<'T>
Public NotInheritable Class NullComparer(Of T)
Implements IComparer(Of T)
Type Parameters
- T
- Inheritance
-
NullComparer<T>
- Implements
-
IComparer<T>
Fields
Instance |
Explicit Interface Implementations
IComparer<T>.Compare(T, T) |