Answers for "c# word randomizer"

C#
0

c# word randomizer

Random rndfruits = new Random();
string[] fruits = new string[] { "apple", "mango", "papaya", "banana", "guava", "pineapple" };
Console.WriteLine(fruits[rndfruits.Next(0,fruits.Length)]);
Posted by: Guest on September-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language