I have observable collection filled with paths to files e.g.:

```
C:/Documents/1.png

```

and I would like to convert them all into filenames and use as itemsSource for my listbox but observablecollection doesn't have convertAll method

```
ObservableCollection<string> InputEpisodes = new ObservableCollection<String>();

filesFoundListBox.ItemsSource = InputEpisodes.ConvertAll(x => Path.GetFileName(x));

```