Edit

Share via


Int64.IsPositive(Int64) Method

Definition

Determines if a value is positive.

C#
public static bool IsPositive(long value);

Parameters

value
Int64

The value to be checked.

Returns

true if value is positive; otherwise, false.

Implements

Remarks

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

Applies to

Product Versions
.NET 7, 8, 9, 10