I know this may sound like a weird question to ask but I would like to know how to have the code randomly pick a memory location in an Array without having it filled, perferably in VB.NET
Thinking of the logic, I was thinking
Dim random As Random
Dim tic(2, 2) As String
random.Next(tic(2,2))
Would putting the array as a parameter would randomly pick a memory location in an array? Yeah I really don’t know what I’m talking about so I really need to be led on the right path if possible.
Are you just looking for a random index for the array to fill it with data?