C#中 Random rd = new Random() 在VB里怎么表达

2024-12-27 03:58:58
推荐回答(2个)
回答1:

C#:
Random rd = new Random(N)

VB:
Randomize Timer
rd = Int(Rnd * (N+1))

回答2:

call randomize
dim rd
rd=rnd()*100