---
description: "Learn more about: Comparer functions"
title: "Comparer functions"
ms.date: 9/11/2023
ms.custom: "nonautomated-date"
---
# Comparer functions

These functions test equality and determine ordering.

|Name|Description|
|------------|---------------|
|[Comparer.Equals](comparer-equals.md)|Returns a logical value based on the equality check over the two given values.|
|[Comparer.FromCulture](comparer-fromculture.md)|Returns a comparer function based on the specified culture and case-sensitivity.|
|[Comparer.Ordinal](comparer-ordinal.md)|Returns a comparer function which uses Ordinal rules to compare values.|
|[Comparer.OrdinalIgnoreCase](comparer-ordinalignorecase.md)|Returns a case-insensitive comparer function which uses Ordinal rules to compare the provided values x and y.|
