编辑代码

using System;

public class HelloWorld
{
    public static void Main()
    {
        Random random = new Random();
        int a = random.net(1,10);
        Condole.Write(a);
    }
}