private void RemoveAt(int index) { recentFiles[index].PropertyChanged -= RecentFilePropertyChanged; recentFiles.RemoveAt(index); }