private void URLDelete() { foreach (var url in URLs.Where(x => x.SelectThis == true)) { FileInfo file = new FileInfo(URL_FILE_PATH + url.Title + URL_FILE_NAME); if (file.Exists) { file.Delete(); } } URLs.Clear(); URLLoad(); }