|
10金钱
public class RandomModel
{ static int RandomFlowing(string[] args)
{
int m1 = 0, m2 = 0,m3=0,m4=0,m5=0,m6=0,m7=0;
Random Rnd = new Random();
m1 = chushi(Rnd);
m2= chushi(Rnd);
m3 = chushi(Rnd);
m4 = chushi(Rnd);
m5 = chushi(Rnd);
m6 = chushi(Rnd);
m7 = chushi(Rnd);
return m1;return m2;return m3;return m4;return m5;
return m6;return m7
}
static public int chushi(Random tmp)
{
int k = tmp.Next(0, 1);
return k;
}
public string Result
{
get { return this._Result; }
set { this._Result = m7; }
}
为什么m7它说上下文中不存在。我只是想完成任务。为什么这么困难啊!! |
|