# GrainTimerCreationOptions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/)

## Equals(GrainTimerCreationOptions) {#equals-orleans-runtime-graintimercreationoptions-d551e2de}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/methods/equals-orleans-runtime-graintimercreationoptions-d551e2de/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L71-L74)

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

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

### Parameters

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

### Returns

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

## Equals(object?) {#equals-object-nullable-b5067f58}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/methods/equals-object-nullable-b5067f58/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L77)

```csharp
public override bool Equals(object? obj)
```

Indicates whether this instance and a specified object are equal.

### Parameters

- `obj` (`object?`): The object to compare with the current instance.

### Returns

`true` if `obj` and this instance are the same type and represent the same value; otherwise, `false`.

## GetHashCode {#gethashcode-a0c16850}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/methods/gethashcode-a0c16850/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L80)

```csharp
public override int GetHashCode()
```

Returns the hash code for this instance.

### Returns

A 32-bit signed integer that is the hash code for this instance.

## operator ==(GrainTimerCreationOptions, GrainTimerCreationOptions) {#op-equality-orleans-runtime-graintimercreationoptions-orleans-runtime-graintimer-2ca6eb5d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/methods/op-equality-orleans-runtime-graintimercreationoptions-orleans-runtime-graintimer-2ca6eb5d/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L85)

```csharp
public static bool operator ==(GrainTimerCreationOptions left, GrainTimerCreationOptions right)
```

Determines whether two timer creation options are equal.

### Parameters

- `left` (`GrainTimerCreationOptions`)
- `right` (`GrainTimerCreationOptions`)

## operator !=(GrainTimerCreationOptions, GrainTimerCreationOptions) {#op-inequality-orleans-runtime-graintimercreationoptions-orleans-runtime-graintim-db1fb999}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.graintimercreationoptions/methods/op-inequality-orleans-runtime-graintimercreationoptions-orleans-runtime-graintim-db1fb999/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Core.Abstractions/Timers/GrainTimerCreationOptions.cs#L90)

```csharp
public static bool operator !=(GrainTimerCreationOptions left, GrainTimerCreationOptions right)
```

Determines whether two timer creation options are unequal.

### Parameters

- `left` (`GrainTimerCreationOptions`)
- `right` (`GrainTimerCreationOptions`)
