标签:break length bsp next shu lin dex sub for
string str=“abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1234567890”
while(ture){
string yzm="" ;
Random rm=New Random();
for( int i=0;i<4;i++){
int index=rm.next(0,str.Length);
string x=str.substring(index,1);
yzm+=x
}
console.writeline(yzm);
string shuru=console.readline();
if(shuru==yzm){
break;
}
}
console.read();
标签:break length bsp next shu lin dex sub for
原文地址:http://www.cnblogs.com/hezhilong/p/7783567.html