C# Class _500.PrimeStatistics

Datei anzeigen Open project: Oscarbralo/TopBlogCoder Class Usage Examples

Public Methods

Method Description
GetPrimes ( int lowerBound, int upperDound ) : List
IsPrime ( int n ) : bool
mostCommonRemainder ( int lowerBound, int upperBound, int modulo ) : int

Method Details

GetPrimes() public method

public GetPrimes ( int lowerBound, int upperDound ) : List
lowerBound int
upperDound int
return List

IsPrime() public method

public IsPrime ( int n ) : bool
n int
return bool

mostCommonRemainder() public method

public mostCommonRemainder ( int lowerBound, int upperBound, int modulo ) : int
lowerBound int
upperBound int
modulo int
return int