static bool CanCopy(string ext) { //能不能复制 foreach (string e in exts) { if (ext.Equals(e)) return true; } return false; }