I'm trying to randomize the final Result here the idea is get the textbox lines do some code , then export it to textbox2 , the code is working but i want to randomize the lines order when exporting to textbox2
Dim newr As New StringBuilder
For Each line In texbox1.text.Lines
newr.AppendLine(line & " CODE-DONE-1")
newr.AppendLine(line & " CODE-DONE-2")
newr.AppendLine(line & " CODE-DONE-3")
Next
textbox2.text = newr.ToString 'Want to randomize Lines Order
Example if i put in textbox1
1
2
3
i want the output in textbox2
3 Code-Done-1
1 Code-Done-3
2 Code-Done-2
3 Code-Done-3
1 Code-Done-1
3 Code-Done-2
2 Code-Done-3