C#:Random rd = new Random(N)VB:Randomize Timerrd = Int(Rnd * (N+1))
call randomize dim rdrd=rnd()*100