How to use Rand()
Posted: Mon Nov 02, 2009 3:46 am
How to use Random function (C#) when you need to select random item from two dimensional array?
// for Array[100][80] Random random = new Random(); int xPos = random.Next(100); int yPos = random.Next(80);and take the array content from your random position.