for (i = 0, j = 0; i < address1.Length - 1 || j < address2.Length - 1; i++, j++){if(j < address2.length){ WriteLine(address1[i],address2[j]);}else{ WriteLine(address1[i],address2[address2.length-1]);// or what ever you want to display.}} 请告诉我这对你有用吗?Please let me know is this helpful to you? 这篇关于指数数组的边界之外。在c#中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
09-25 13:22