Equals(object?)
override
public override bool Equals(object? obj) Tests this reference for equality to another object. Two grain references are equal if they both refer to the same grain.
Parameters
objobject?- The object to test for equality against this reference.
Returns
true if the object is equal to this reference.