??C#?????????????
???????????? ???????[ 2012/7/16 10:34:48 ] ????????
??????????????????????????????? ??????????????????????ν?????????????????????????????????????????????????????????ò???????????????????????????????????????? ??α???????α????????????????????????????????????????????????????????????????????????????????????????????α???????? ????????????????????????????ε????α???????????“???”???????????????÷???????????????????????????????????????????? ??????????????????????????????????й?????????????????????.net Framework?е????????????????????????
?????????????????????????????????????????
?????????????????????????????????????????????????
Random ro = new Random();
??????????????????????int????????????????
int iSeed=10;
Random ro = new Random(10);
long tick = DateTime.Now.Ticks;
Random ran = new Random((int)(tick & 0xffffffffL) | (int) (tick >> 32));
??????????????99%?????????
????????????????????Random????????????????????????????Random.Next()??????????????????????????????????????????????????????
??????????????????????£?
int iResult;
iResult=ro.Next();
???????????????????С??100?????????
int iResult;
int iUp=100;
iResult=ro.Next(iUp);
????????????δ???????????????????50-100???Χ????
int iResult;
int iUp=100;
int iDown=50;
iResult=ro.Next(iDown??iUp);
????????Random.Next()???????Random??????Random.NextDouble()?????????????Χ??0.0-1.0?????????????????????
double dResult;
dResult=ro.NextDouble();
??????????Random?????????????????????????????????С??????????????????????????????ο?????????Щ??????????????????????????????????????ε???????????????????????????????????Щ???????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11