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

Provides a boolean comparison that determines whether a and b are equal. More...

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

Public Member Functions

bool Compare (T a, T b)
 Returns true if a and b compare equal; otherwise false.

Detailed Description

Provides a boolean comparison that determines whether a and b are equal.

Template Parameters
TThe type of values being compared.

Member Function Documentation

◆ Compare()

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

Returns true if a and b compare equal; otherwise false.

Parameters
aThe first value to compare.
bThe second value to compare.
Returns
true if both values are equal; otherwise false.

Implements SystemEx.Algorythmen.ISimpleCompare< T >.

76 {
77 return Comparer<T>.Default.Compare(a, b) == 0;
78 }

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