# IdComparer.Equals(ParticipantId, ParticipantId)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantid.idcomparer/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleans.transactions.participantid.idcomparer/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Transactions/DistributedTM/ParticipantId.cs#L49)

```csharp
public bool Equals(ParticipantId x, ParticipantId y)
```

Determines whether the specified objects are equal.

### Parameters

- `x` (`ParticipantId`): The first object of type `T` to compare.
- `y` (`ParticipantId`): The second object of type `T` to compare.

### Returns

`true` if the specified objects are equal; otherwise, `false`.
