# PubSubSubscriptionState.Equals(PubSubSubscriptionState)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.pubsubsubscriptionstate/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/PubSub/PubSubSubscriptionState.cs#L72-L75)

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

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

### Parameters

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

### Returns

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