Прочетете на английски Редактиране

Споделяне чрез


Rune.CompareTo(Rune) Method

Definition

Compares the current instance to the specified Rune instance.

C#
public int CompareTo(System.Text.Rune other);

Parameters

other
Rune

The instance to compare with the current instance.

Returns

A signed integer indicating the position of this instance in the sort order in relation to other:
- Less than zero: This instance precedes other.
- Zero: The instance has the same position in the sort order as other.
- Greater than zero: This instance follows other.

Implements

Applies to

Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10