能帮我把这个东西敲出来吗,麻烦一下大家,就是这个不知道哪里错了输出不了,是能不能把输出结果告诉我

能帮我把这个东西敲出来吗,麻烦一下大家,就是这个不知道哪里错了输出不了,是能不能把输出结果告诉我

问题描述:

img

List<int> vList = new List<int>0
for(inti=1:i<=35:i++)
vList.Addi://得到全部1-35的数
Random vRandom = new
RandomQ:
List<int> vReturn = new
List<int>0;
for(inti=1:i<=5:i++)
    intj=
vRandom.Next(vList.Count)://M
列表中随机抽取一个
     VReturn.Add(vListLi1)
     vList.RemoveAt(i)://从列表中
移除抽取的数
vReturn.SortO://排序
foreach Gint iin vReturn)
Console.WriteLine(i)://输出
把这个代码导出来

list不能用int,应该用int的引用类型,list不能直接实例化,应该用其子类对象,其他还有大小写的问题,....