摘要:标签: `代码` `C#` `WPF`**遍历文件夹下任意类型的文件**```cs Loaded += delegate { var arr = "*.png|*.jpg|*.jpeg|*.gif".Split('|').SelectMany(filter => new DirectoryInfo(Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)).GetFiles(filter, SearchOption.AllDirectories)).ToArray(); };```- 阅读全文
posted @ 2013-09-23 10:38 常伟华 阅读(206) 评论(0) 推荐(1) 编辑