Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ValueTask.Inequality(ValueTask, ValueTask) Operator

Definition

Determines whether two ValueTask values are unequal.

C#
public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right);

Parameters

left
ValueTask

The first value to compare.

right
ValueTask

The second value to compare.

Returns

true if the two ValueTask values are not equal; otherwise, false.

Remarks

Two ValueTask instances are equal when they wrap the same Task or the same pair of the IValueTaskSource object and the token.

Applies to

Termék Verziók
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1