Skip to content

Size.Equals(object?) method

Defined in

Type: Size Namespace: Akavache.Drawing Assembly: Akavache.Drawing.dll

Applies to

net11.0, net11.0-maccatalyst27.2, net11.0-windows10.0.19041, net11.0-android37.0, net11.0-macos27.2, net11.0-ios27.2, net10.0, net10.0-macos26.0, net10.0-maccatalyst26.0, net10.0-ios26.0, net10.0-android36.0, net10.0-windows10.0.19041, net48, net47, net471, net472, net481

Overloads

  1. public override bool Equals(object? obj)

  2. public bool Equals(Size other)

1. Overload

public override bool Equals(object? obj)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ValueType. The member doesn't override them on this type.

Summary: Indicates whether this instance and a specified object are equal.

Parameters

NameTypeDescription
objobject? (opens in a new tab)The object to compare with the current instance.

Returns: bool (opens in a new tab) -- true if obj and this instance are the same type and represent the same value; otherwise, false.

2. Overload

public bool Equals(Size other)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IEquatable<Size>. The member doesn't override them on this type.

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

Parameters

NameTypeDescription
other[Size](#Akavache.Drawing.Size)An object to compare with this object.

Returns: bool (opens in a new tab) -- true if the current object is equal to the other parameter; otherwise, false.