Open sandboxFocus

Method Equals

Equals(IRef?, RefComparison)

Compares this reference to another reference using the specified comparison strategy.

Declaration
bool Equals(IRef? other, RefComparison comparison = RefComparison.Default)
Parameters
Type Name Description
IRef other

The other reference to compare to.

RefComparison comparison

The comparison strategy to use. See RefComparison for available options.

Returns
Type Description
bool

true if the references are equal according to the specified comparison strategy; otherwise, false.

See Also