Use this interface to create a comparer that can be used in searching and sorting functions in the collections. Generally, custom comparers are used for special-case values to compare, such as user-defined types. In order to not have to write logic to compare all types of values, the method could delegate general cases to the default comparer, and compare only the specialized values.
Project VBCorLib Overview
|Compare||Compares two elements and returns their relationship.|