22 | 02 | 2017

Create Random Number .NET

The function below creates a random integer.

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
Login

Sign up now and upload your code to the website.

Help us to continue.....
Statistics
Articles View Hits
2174971
Latest Articles