Method NextInt
NextInt(Random, Int32, Int32)
start and end are BOTH inclusive
Declaration
public static int NextInt(Random r, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
Random | r | |
System.Int32 | start | |
System.Int32 | end |
Returns
Type | Description |
---|---|
System.Int32 |