• Notice regarding image hosts and attachments. See here.

VB.net array help needed!

Associate
Joined
12 Jun 2003
Posts
2,033
Location
Either Tonbridge or Biggin Hill
Hi all,
In VB.net how do I randomise the contents of a 2-dimensional string array?

For example, I have an array- arrNames(). Into this array is loaded a series of names (read from a text file).

I want to randomise the order the names are stored in the array and then finally I want to loop through the array to populate two list boxes. So the even elements are added to lstTeam1 and the odd elements are added to lstTeam2.

Can you help? :)
 
Back
Top Bottom