# DiagnosticEvent.Equals(DiagnosticEvent)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.diagnostics.diagnosticevent/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.diagnostics.diagnosticevent/methods/)

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

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

### Parameters

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

### Returns

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