Читати англійською Редагувати

Поділитися через


DateOnly.LessThan(DateOnly, DateOnly) Operator

Definition

Determines whether one specified DateOnly is earlier than another specified DateOnly.

C#
public static bool operator <(DateOnly left, DateOnly right);

Parameters

left
DateOnly

The first object to compare.

right
DateOnly

The second object to compare.

Returns

true if left is earlier than right; otherwise, false.

Applies to

Продукт Версії
.NET 6, 7, 8, 9, 10