Click or drag to resize

ReverseComparerReverseT Method

Namespace:  WhetStone.Comparison
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IComparer<T> Reverse<T>(
	this IComparer<T> comp
)

Parameters

comp
Type: System.Collections.GenericIComparerT
The IComparerT to reverse.

Type Parameters

T
The type of the IComparerT

Return Value

Type: IComparerT
A reversed IComparerT that creates an opposite order than comp.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IComparerT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also