public static string GetRandrom() |
{ |
Random rand = new Random(); |
string strNum = "" ; |
int i = 0; |
while (i < 16) |
{ |
i++; |
int randomNum = rand.Next (0, 10); |
strNum += randomNum.ToString(); |
} |
strNum = "0." + strNum; |
return strNum; |
} |
by: 发表于:2018-01-29 11:01:20 顶(0) | 踩(0) 回复
??
回复评论