 | PrimeHelperIsPrime Method |
Determines whether the specified number is prime.
Namespace: DigitalRuneAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntaxpublic static bool IsPrime(
int value
)
Public Shared Function IsPrime (
value As Integer
) As Boolean
public:
static bool IsPrime(
int value
)
static member IsPrime :
value : int -> bool
Parameters
- value
- Type: SystemInt32
The value to test.
Return Value
Type:
Boolean if
value is prime; otherwise,
.
See Also