# Equals()

A method used to test whether two objects have equal content.

## What does **Equals()** do in C#?

**Equals()** — A method used to test whether two objects have equal content.

Level: Journeyman · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/journeyman)

Updated: September 27, 2026

## In other subjects

- [equals() in Java](https://www.ask-codey.com/glossary/equals)

Source: https://www.ask-codey.com/glossary/equals-c-sharp
