.Net

#VB,NET# Tip. 랜덤 숫자 생성 함수

eXtreme.RKing 2008. 11. 26. 04:46
     Public Function RandomNumber(ByVal low As Int32, ByVal high As Int32) As Integer
        Static RandomNumGen As New System.Random
        Return RandomNumGen.Next(low, high+1)
    End Function