2011年4月13日

不用循环和递归判断值在数组中的索引

摘要: 不用循环和递归判断值在数组中的索引【原创】2011-04-13 12:42 ///////////////////////////////////////////////////////数组集合 string[] str = new string[] { "a", "b", "c", "d", "e", "f", "g" }; //////要查找的字符串 string Num = "c"; ///使用Linq查询,将索引和值查出来, / 阅读全文

posted @ 2011-04-13 15:16 Joey_zy0210 阅读(299) 评论(0) 推荐(0) 编辑

导航