About 35,800,000 results
Open links in new tab
  1. c# - What is LINQ and what does it do? - Stack Overflow

    Aug 2, 2018 · LINQ is a technology for extracting data using an idiom derived from the C# programming language. While it owes much in functional design to SQL, it is fundamentally its …

  2. c# - Proper LINQ where clauses - Stack Overflow

    Apr 27, 2015 · When this is a linq-to-object call, multiple where clauses will lead to a chain of IEnumerables that read from each other. Using the single-clause form will help performance …

  3. c# - "IN" Operator in Linq - Stack Overflow

    Feb 1, 2013 · I am trying to convert an old raw Sql query in Linq with Entity Framework here. It was using the IN operator with a collection of items. The query was something like that: …

  4. Pros and Cons of LINQ (Language-Integrated Query)

    Apr 25, 2017 · LINQ works wonderfully with object collections, removing the need of predicate functions in most cases. I tried using LINQ to SQL a little while ago, but found it underpowered …

  5. How to group by multiple columns using LINQ - Stack Overflow

    How can I do group by multiple columns in LINQ? Something similar to this in SQL: SELECT * FROM <TableName> GROUP BY <Column1>,<Column2> How can I convert this to LINQ:

  6. c# - Where IN clause in LINQ - Stack Overflow

    Jun 6, 2009 · How to make a where in clause similar to one in SQL Server? I made one by myself but can anyone please improve this? public List&lt;State&gt; Wherein(string …

  7. c# - Linq-to-Entities Join vs GroupJoin - Stack Overflow

    Jun 16, 2025 · While GroupJoin is the equivalent of OUTER JOIN: C is in the result set, but with an empty list of related entries (in an SQL result set there would be a row C - null). Syntax So …

  8. Update all objects in a collection using LINQ - Stack Overflow

    Dec 30, 2008 · Is there a way to do the following using LINQ? foreach (var c in collection) { c.PropertyToSet = value; } To clarify, I want to iterate through each object in a collection and …

  9. c# - What is the difference between LINQ query expressions and ...

    Jun 23, 2015 · Your LINQ query (first example) and your LINQ using method chaining (second example) produce the same result, with different syntax. It is possible to write a LINQ query as …

  10. LINQ Where with AND OR condition - Stack Overflow

    Jan 11, 2016 · LINQ Where with AND OR condition Asked 16 years, 1 month ago Modified 6 years, 6 months ago Viewed 199k times