Multiple Choice
Which of the following statements will assign a random number between 1 and 50 inclusive to intNum?
A) intNum = rand.Next(50) + 1
B) intNum = rand.Next(1, 50)
C) intNum = rand.Next(50)
D) intNum = rand.Next()
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: To get the number of items stored
Q2: Suppose you would like your code to
Q4: Which of the following statements correctly displays
Q5: Which statement is True in regard to
Q6: The entries in a ListBox are stored
Q7: Setting this property to True will put
Q8: Which type of loop uses a pretest
Q9: Which code example will calculate the number
Q10: This method erases all the items in
Q11: A _is a loop inside another loop.<br>A)