Class PrimeTester
Tests for Prime in School method optimized.
Inherited Members
Namespace: Advanced.Algorithms.Numerical
Assembly: Advanced.Algorithms.dll
Syntax
public class PrimeTester
Methods
IsPrime(Int32)
Check if given number is prime.
Declaration
public static bool IsPrime(int number)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | number |
Returns
| Type | Description |
|---|---|
| Boolean |