Create a C# Console application, and paste the following code in the Main method... for (int i = 0; i < 5; i++)
{
//Generating a Random number between 0 and 100000
int intRandomElement;
Random r = new Random();
intRandomElement = r.Next(1, 100000);
Console.WriteLine(intRandomElement);
}
If you run this code in debug mode, you should be able to get the output as expected. But if y...
[More]