日期:2014-05-17 浏览次数:20729 次
var files = new DirectoryInfo(@"c:\\").FindFiles(); var query = from x in files group x by x.FileName into g where g.Count() > 1 select g.Key;