日期:2014-05-20 浏览次数:20832 次
void Main() { string[] xx={"ABCEFG","ABCASDFASDF","12312ADSFASD"}; xx.Where(x=>x.StartsWith("ABC")).ToList().ForEach(x=>Console.WriteLine(x)); /* ABCEFG ABCASDFASDF */ }