Linq code snippets (10)

How to compare strings in collection with ignoring the case

Published: 6. July 2014 | Updated: 6. July 2014
Categories: Linq
Tags: C# Collections Text

How to convert IEnumerable to IQueryable

Published: 14. February 2012 | Updated: 14. February 2012
Categories: Linq
Tags: C# Collections Linq

How to dynamically add generic condition to IQueryable

Published: 14. February 2012 | Updated: 14. February 2012
Categories: Linq
Tags: C# Collections Lambda Linq

How to get distinct values from array/collection

Published: 9. October 2011 | Updated: 3. November 2011
Categories: Arrays Linq
Tags: Array C# Linq

How to sort ObservableCollection

Published: 1. November 2011 | Updated: 1. November 2011
Categories: Linq
Tags: C# Collections

How to get keys from dictionary

Published: 9. October 2011 | Updated: 27. October 2011
Categories: Linq
Tags: Basics C# Collections

How to get average number from collection

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Linq Math
Tags: C# Linq Math

How to get minimum number from collection

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Linq Math
Tags: C# Linq Math

How to get maximum number from collection

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Linq Math
Tags: C# Linq Math

How to sum numbers from collection

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Linq Math
Tags: C# Collections Linq Math