Linq code snippets (10)

How to convert IEnumerable to IQueryable

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

How to create readonly collection

Published: 14. February 2012 | Updated: 14. February 2012
Categories: Collections
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 make paging in collections

Published: 11. November 2011 | Updated: 11. November 2011
Categories: Collections
Tags: C# Collections 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 get key from dictionary by value

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

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