Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

random value in array c#

 Random random = new Random();
 int value = random.Next(0, array.Length);
 Console.Write(array[value]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #array
ADD COMMENT
Topic
Name
5+9 =