Next Method (Int32)
From Lidgren.Network
| Lidgren Network Library documentation |
| NetRandom..::..Next Method (Int32) |
| NetRandom Class See Also Send Feedback |
Generates a random int over the range 0 to upperBound-1, and not including upperBound.
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
| C# |
|---|
public int Next( int upperBound ) |
| Visual Basic |
|---|
Public Function Next ( _ upperBound As Integer _ ) As Integer |
| Visual C++ |
|---|
public: int Next( int upperBound ) |
Parameters
- upperBound
- Type: System..::..Int32
[Missing <param name="upperBound"/> documentation for "M:Lidgren.Network.NetRandom.Next(System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetRandom.Next(System.Int32)"]