摘要: string[] myArr = { "Overred", "Medloy", "Xiaoguai", "Hare" };ArraySegment arrSeg = new ArraySegment(myArr);for (int i = arrSeg.Offset; i myArrSegMid = new ArraySegment(myArr, 1, 3);则取myArr的索引从1到3的值,转自:http://www.cnblogs.com/chenxizhang/archive/2009/04/23/14417 阅读全文
posted @ 2013-07-19 14:41 pnljs 阅读(1087) 评论(0) 推荐(0) 编辑