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()
a. intNum = rand.Next(50) + 1
Computer Science & Information Technology
You might also like to view...
A class that implements an interface but only gives definitions for some of the method headings given in the interface is called a/an:
a. concrete class b. abstract class c. discrete class d. friendly class
Computer Science & Information Technology
To remove the content of selected cells you must issue ______ command
Select one: A. Data >> Delete B. Edit >> Clear >> All C. Edit >> Clear >> Contents D. Edit >> Delete
Computer Science & Information Technology