## Equals(*[HttpMethod](../)*) {#equals}

Indicates whether the current object is equal to another object of the same type.

```csharp
public bool Equals(HttpMethod other)
```

| Parameter | Type | Description |
| --- | --- | --- |
| other | HttpMethod | An object to compare with this object. |

### Return Value

true if the current object is equal to the *other* parameter; otherwise, false.

### See Also

* class [HttpMethod](../)
* namespace [Aspose.Html.Net](../../../aspose.html.net/)
* assembly [Aspose.HTML](../../../)

---

## Equals(*object*) {#equals_1}

Determines whether the specified Object, is equal to this instance.

```csharp
public override bool Equals(object obj)
```

| Parameter | Type | Description |
| --- | --- | --- |
| obj | Object | The Object to compare with this instance. |

### Return Value

`true` if the specified Object is equal to this instance; otherwise, `false`.

### See Also

* class [HttpMethod](../)
* namespace [Aspose.Html.Net](../../../aspose.html.net/)
* assembly [Aspose.HTML](../../../)
