Int32.IsPositive(Int32) 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 positive.
public:
static bool IsPositive(int value) = System::Numerics::INumberBase<int>::IsPositive;
C#
public static bool IsPositive(int value);
static member IsPositive : int -> bool
Public Shared Function IsPositive (value As Integer) As Boolean
- value
- Int32
The value to be checked.
true
if value
is positive; otherwise, false
.
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
Продукт | Версії |
---|---|
.NET | 7, 8, 9, 10 |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: