Int64.IsNegative(Int64) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if a value is negative.
public:
static bool IsNegative(long value) = System::Numerics::INumberBase<long>::IsNegative;
public static bool IsNegative(long value);
static member IsNegative : int64 -> bool
Public Shared Function IsNegative (value As Long) As Boolean
- value
- Int64
The value to be checked.
true
if value
is negative; otherwise, false
.
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
Produkt | Versioner |
---|---|
.NET | 7, 8, 9, 10 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: