Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# random number

Random randomNum = new Random();
int num = randomNum.Next(1, 100); // Generates a number between 1 and 100
Console.WriteLine(num); // Outputs the number
 
PREVIOUS NEXT
Tagged: #random #number
ADD COMMENT
Topic
Name
3+3 =