Hello i would like to get 2 different random characters to string. I can get 1 array only the second random characters seem to be get from the first random characters.
What am i doing wrong? Here's the code :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For i = 1 To 10
Dim chars = "abcdefghijklmnopqrstuvwxyzZ0123456789"
Dim random = New Random()
Dim result = New String(Enumerable.Repeat(chars, 3).[Select](Function(s) s(random.[Next](s.Length))).ToArray())
firstpart = TextBox2.Text
rm = firstpart & result
Dim chars = "0123456789"
Dim random = New Random()
Dim result = New String(Enumerable.Repeat(chars, 3).[Select](Function(s) s(random.[Next](s.Length))).ToArray())
nextpart = TextBox3.Text
rn = nextpart & result
now i would like to call a second random character but only numbers, can anyone help or explain this to me.