linq 1,353

  1. Multiple “order by” in LINQ
  2. Returning IEnumerable<T> vs. IQueryable<T>
  3. LINQ query on a DataTable
  4. Group By Multiple Columns


  5. Group by in LINQ
  6. Difference Between Select and SelectMany
  7. LINQ's Distinct() on a particular property
  8. What is the Java equivalent for LINQ?
  9. When to use .First and when to use .FirstOrDefault with LINQ?
  10. Dynamic LINQ OrderBy on IEnumerable<T>
  11. LINQ equivalent of foreach for IEnumerable<T>
  12. LINQ Aggregate algorithm explained
  13. Using LINQ to remove elements from a List<T>
  14. IEnumerable vs List - What to Use? How do they work?
  15. Which method performs better: .Any() vs .Count() > 0?
  16. Retrieving Property name from lambda expression
  17. Concat all strings inside a List<string> using LINQ
  18. Is it better to call ToList() or ToArray() in LINQ queries?
  19. LINQ: When to use SingleOrDefault vs. FirstOrDefault() with filtering criteria
  20. What is the difference between IQueryable<T> and IEnumerable<T>?
  21. Update all objects in a collection using LINQ
  22. How to use LINQ to select object with minimum or maximum property value
  23. Use LINQ to get items in one List<>, that are not in another List<>
  24. LEFT OUTER JOIN in LINQ
  25. How to do SQL Like % in Linq?
  26. LINQ Orderby Descending Query
  27. Linq .Any VS .Exists - What's the difference?
  28. Split List into Sublists with LINQ
  29. Using LINQ to concatenate strings
  30. C# Joins/Where with Linq and Lambda
  31. Preserving order with LINQ
  32. What's the hardest or most misunderstood aspect of LINQ?
  33. How would you do a “not in” query with LINQ?
  34. Convert Linq Query Result to Dictionary
  35. Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)
  36. Why does ReSharper tell me “implicitly captured closure”?
  37. How to get index using LINQ?
  38. Entity Framework: There is already an open DataReader associated with this Command
  39. What does LINQ return when the results are empty
  40. Sorting a list using Lambda/Linq to objects
  41. OrderBy descending in Lambda expression?
  42. LINQ - Fluent and Query Expression - Is there any benefit(s) of one over other?
  43. Using Linq to get the last N elements of a collection?
  44. Remove duplicates in the list using linq
  45. LINQ: Not Any vs All Don't
  46. Flatten List in LINQ
  47. Using IQueryable with Linq
  48. C# Linq Group By on multiple columns
  49. Convert string[] to int[] in one line of code using LINQ
  50. Linq to Entities - SQL “IN” clause