SystemEX  Lacking
Additional generic collection types missing in .net
SystemEx.Algorythmen.GreaterEqual< T > Class Template Referencesealed

Provides a boolean comparison that determines whether a is larger than or equal to b . More...

Inheritance diagram for SystemEx.Algorythmen.GreaterEqual< T >:
Collaboration diagram for SystemEx.Algorythmen.GreaterEqual< T >:

Public Member Functions

bool Compare (T a, T b)
 Returns true if a is larger than or equal to b ; otherwise false.

Detailed Description

Provides a boolean comparison that determines whether a is larger than or equal to b .

Template Parameters
TThe type of values being compared.

Member Function Documentation

◆ Compare()

bool SystemEx.Algorythmen.GreaterEqual< T >.Compare ( T a,
T b )

Returns true if a is larger than or equal to b ; otherwise false.

Parameters
aThe first value to compare.
bThe second value to compare.
Returns
true if a is greater than or equal to b ; otherwise false.

Implements SystemEx.Algorythmen.ISimpleCompare< T >.

148 {
149 return Comparer<T>.Default.Compare(a, b) >= 0;
150 }

The documentation for this class was generated from the following file:
  • Comparer.cs