Which of the following statements generates a random integer from 1 to 25 (including 25)? a. intNum

Question:

Which of the following statements generates a random integer from 1 to 25 (including 25)?
a. intNum = randGen.Next(1, 25)
b. intNum = randGen.Next(1, 26)
c. intNum = randGen(1, 25)
d. intNum = randGen.NextNumber(1, 26)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: