Nezir Zahirović

Generate random number VB.NET function


Simple function to generate an random number:
Private Function RandomNumber(min As Integer, max As Integer) As Integer
Dim random As New Random()
Return random.Next(min, max)
End Function
SHARE
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment