摘要: 现在假设有以下字符串数组:string[] names = { "bruce", "aron", "matt", "nancy", "grant", "jet", "matthew" };我想取出所有名字长度大于等于4的,我们可以这样用linq查询语句:var nameList = from name in names where name.Length >= 4 select name;其... 阅读全文
posted @ 2008-10-26 11:37 Matthew Lin 阅读(346) 评论(0) 推荐(0) 编辑