using System;
namespace CSharp_Shell
{
public static class Program
{
public static void Main()
{
string[] z = { “中”, “国”, “人”, “民”, “大”, “家”, “好” }; // 您可以替换为您想要的汉字
Console.Write("\n输出随机组合:\n\n");
Random random = new Random();
for (int i = 0; i < 10; i++)
{
Console.Write(z[random.Next(z.Length)]);
}
}
}
}