Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# generate random number

// Creates a random number between 1 and 10
int randomNumber = new Random().Next(1, 11);
 
PREVIOUS NEXT
Tagged: #generate #random #number
ADD COMMENT
Topic
Name
9+2 =