Tag: List
How to Convert a List to ObservableCollection in C#?
This simple blog post will explain how to convert a List of Object to ObservableCollection of Object in C# and Windows Phone 8. There are times when you want to convert a List of Object to ObservableCollection specially when binding an ObservableCollection to the LongListSelector etc. The reasons for this can be several. How to Convert a List to ObservableCollection in C#? To Convert a…
How to check if List is Empty using LINQ in C#?
Below is a sample source code demonstrating the usage Any () and Count () to check if the list is empty in LINQ. How to check if List is Empty using LINQ in C#?