Answers for "random value in array c#"

C#
8

random value in array c#

Random random = new Random();
 int value = random.Next(0, array.Length);
 Console.Write(array[value]);
Posted by: Guest on July-05-2020

C# Answers by Framework

Browse Popular Code Answers by Language