日期:2014-05-18 浏览次数:20770 次
string[] a=new string[10]; string[] b = new string[4]; for (int i = 0; i < a.Length; i++) { int b_index = i % b.Length; switch (b_index) { case 0: //b[b_index]=b[0] //a[i]操作 break; case 1: break; case 2: break; case 3: break; default: break; } }
------解决方案--------------------