英語で読む 編集

次の方法で共有


Int16.IsNegative(Int16) Method

Definition

Determines if a value is negative.

C#
public static bool IsNegative(short value);

Parameters

value
Int16

The value to be checked.

Returns

true if value is negative; otherwise, false.

Implements

Remarks

A return value of false does not imply that IsPositive(TSelf) will return true. A complex number, a + bi for non-zero b, is not positive or negative

Applies to

製品 バージョン
.NET 7, 8, 9, 10