Original Post
I want to create a random number based on a range, but for some reason it isn't working. http://msdn2.microsoft.com/en-us/library/2dx6wyd4.aspx I tried to figure this out from some examples in the MSDN. It appears there is a NEXT method that can be used with random. The intellisense tells me that I can use a minimum range and a maximum range. Take a look please: Instead of the random number, the text System.Random is what's printed to the screen.
int r = h * w;
Room[] rooms = new Room[r];
Random rm = new Random();
rm.Next(0, r);
Console.WriteLine(rm);