[求助]随机组合出现重复怎么办? Post By:2016/3/7 13:52:00 [显示全部帖子]
Dim a() As String = {"张","林","陈",“王”,“李”} Dim b() As String = {"建国",“国庆”,“旺财”} Dim c() As String = {"男","女"} For Index As Integer = 0 To 10 Output.Show(a(rand.Next(0,5)) & b(rand.Next(0,3)) & c(rand.Next(0,2))) Next