अंग्रेज़ी में पढ़ें संपादित करें

इसके माध्यम से साझा किया गया


DateOnly.Equals Method

Definition

Overloads

Equals(DateOnly)

Returns a value indicating whether the value of this instance is equal to the value of the specified DateOnly instance.

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

Equals(DateOnly)

Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs

Returns a value indicating whether the value of this instance is equal to the value of the specified DateOnly instance.

public bool Equals (DateOnly value);

Parameters

value
DateOnly

The object to compare to this instance.

Returns

true if the value parameter equals the value of this instance; otherwise, false.

Implements

Applies to

.NET 9 और अन्य संस्करण
उत्पाद संस्करण
.NET 6, 7, 8, 9

Equals(Object)

Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs

Returns a value indicating whether this instance is equal to a specified object.

public override bool Equals (object? value);

Parameters

value
Object

The object to compare to this instance.

Returns

true if value is an instance of DateOnly and equals the value of this instance; otherwise, false.

Applies to

.NET 9 और अन्य संस्करण
उत्पाद संस्करण
.NET 6, 7, 8, 9