| Create Random Number .NET |
|
|
|
| Tutorials | |||
|
The function below creates a random integer. [code] Public Function RndNumb(ByVal low As Int32, ByVal high As Int32) As Integer
'*************************************
'**** Code from VisibleVisual.com ****
'*************************************
Static Randomno As New System.Random
Return Randomno.Next(low, high + 1)
End Function
[/code]
|


