In my WPF application I’d like to use LINQ as much as possible (especially to avoid foreach). But WPF works a lot with the ObservableCollection, and I can’t use LINQ with these kind of collection. What can I do?
In my WPF application I’d like to use LINQ as much as possible (especially
Share
What makes you think you can’t use LINQ with
ObservableCollection<T>? It implementsCollection<T>so it should be fine.For example: