# Matrix3x2.Equals Method

## Definition

Returns a value that indicates whether this instance and a specified Matrix3x2 instance or a specified object are equal.

 Equals(Matrix3x2) Returns a value that indicates whether this instance and another 3x2 matrix are equal. Equals(Object) Returns a value that indicates whether this instance and a specified object are equal.

## Equals(Matrix3x2)

Returns a value that indicates whether this instance and another 3x2 matrix are equal.

``````public:
virtual bool Equals(System::Numerics::Matrix3x2 other);``````
``public bool Equals (System.Numerics.Matrix3x2 other);``
``public readonly bool Equals (System.Numerics.Matrix3x2 other);``
``override this.Equals : System.Numerics.Matrix3x2 -> bool``
``Public Function Equals (other As Matrix3x2) As Boolean``

#### Parameters

other
Matrix3x2

The other matrix.

#### Returns

Boolean

`true` if the two matrices are equal; otherwise, `false`.

### Remarks

Two matrices are equal if all their corresponding elements are equal.

## Equals(Object)

Returns a value that indicates whether this instance and a specified object are equal.

``````public:
override bool Equals(System::Object ^ obj);``````
``public override bool Equals (object obj);``
``public override readonly bool Equals (object? obj);``
``public override readonly bool Equals (object obj);``
``override this.Equals : obj -> bool``
``Public Overrides Function Equals (obj As Object) As Boolean``

#### Parameters

obj
Object

The object to compare with the current instance.

#### Returns

Boolean

`true` if the current instance and `obj` are equal; otherwise, `false`. If `obj` is `null`, the method returns `false`.

### Remarks

The current instance and `obj` are equal if `obj` is a Matrix3x2 object and the corresponding elements of each matrix are equal.