# ParticipantId.Equals(ParticipantId)

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

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Transactions/DistributedTM/ParticipantId.cs#L77-L79)

```csharp
public bool Equals(ParticipantId other)
```

Indicates whether the current object is equal to another object of the same type.

### Parameters

- `other` (`ParticipantId`): An object to compare with this object.

### Returns

`true` if the current object is equal to the `other` parameter; otherwise, `false`.
