📜  c# word randomizer - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:54.301000             🧑  作者: Mango

代码示例1
Random rndfruits = new Random();
string[] fruits = new string[] { "apple", "mango", "papaya", "banana", "guava", "pineapple" };
Console.WriteLine(fruits[rndfruits.Next(0,fruits.Length)]);