![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
![]() ![]() |
Lidgren Network Library documentation |
NetRandom..::..NextInt Method |
NetRandom Class See Also Send Feedback |
Generates a random int over the range 0 to int.MaxValue, inclusive.
This method differs from Next() only in that the range is 0 to int.MaxValue
and not 0 to int.MaxValue-1.
The slight difference in range means this method is slightly faster than Next()
but is not functionally equivalent to System.Random.Next().
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetRandom.NextInt"]