Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Comparison
ReverseComparer Class
ReverseComparer Methods
Reverse(T) Method
ReverseComparer
Reverse
T
Method
Get an
IComparer
T
that is reverse of another.
Namespace:
WhetStone.Comparison
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
IComparer
<T>
Reverse
<T>(
this
IComparer
<T>
comp
)
Parameters
comp
Type:
System.Collections.Generic
IComparer
T
The
IComparer
T
to reverse.
Type Parameters
T
The type of the
IComparer
T
Return Value
Type:
IComparer
T
A reversed
IComparer
T
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
IComparer
T
. 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
Reference
ReverseComparer Class
WhetStone.Comparison Namespace