C# Class Utilities.Random.Random

Utility class for handling random information.
Inheritance: System.Random
ファイルを表示 Open project: JaCraig/Craig-s-Utility-Library Class Usage Examples

Public Methods

Method Description
Random ( ) : System

Constructor

Random ( int Seed ) : System

Constructor

ThreadSafeNext ( int Min = int.MinValue, int Max = int.MaxValue ) : int

A thread safe version of a random number generation

Method Details

Random() public method

Constructor
public Random ( ) : System
return System

Random() public method

Constructor
public Random ( int Seed ) : System
Seed int Seed value
return System

ThreadSafeNext() public static method

A thread safe version of a random number generation
public static ThreadSafeNext ( int Min = int.MinValue, int Max = int.MaxValue ) : int
Min int Minimum value
Max int Maximum value
return int