Dim str() As String = {"1","2","3","4","5","6"}
Dim ls As new List(Of String)
For i As Integer = 1 To 200
For j As Integer = 1 To 5 '洗牌次数 ----这个代码主要起到什么作用的呢?
Dim rnum1 As Integer = Rand.Next(str.Length)
Dim rnum2 As Integer = Rand.Next(str.Length)
Dim temp As String = str(rnum1)
str(rnum1) = str(rnum2)
str(rnum2) = temp
Next
Dim data As String = String.Join("", str)
If ls.Contains(data) = False Then
ls.add(data)
Else
i -=1
End If
Next
e.form.Conrols("TextBox1").Text = String.Join(vbcrlf, ls.ToArray)