GridSize.Equals

Method in GridSize

Declaration

public bool Equals(GridSize other)

Description

Checks if the grid size is equal to another grid size.

Parameters

otherThe grid size to compare to.

Returns

boolTrue if the grid sizes are equal, false otherwise.

Overload

Declaration

public override bool Equals(object other)

Description

Checks if the grid size is equal to another grid size.

Parameters

otherThe object to compare to.

Returns

boolTrue if the grid sizes are equal, false otherwise.