摘要: 以下代码利用ArrarSegment泛型结构,从int数组arr中取出arr[2]到arr[5]1usingSystem;2usingSystem.Collections;345classProgram6{7staticvoidMain(string[]args)8{910int[]arr={1,2,3,4,5,6,7,8};11ArraySegment<int>segment=new... 阅读全文
posted @ 2007-12-18 20:50 菩提树下的杨过 阅读(1406) 评论(0) 推荐(0) 编辑