About 34,400,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# - 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<State> Wherein(string …

  4. 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: …

  5. 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 …

  6. LINQ .Any VS .Exists - What's the difference? - Stack Overflow

    The difference is that Any is an extension method for any IEnumerable<T> defined in System.Linq.Enumerable. It can be used on any IEnumerable<T> instance. Exists does not …

  7. LINQ Where with AND OR condition - Stack Overflow

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

  8. c# - If Else in LINQ - Stack Overflow

    Jan 14, 2009 · Is it possible to use If Else conditional in a LINQ query? Something like from p in db.products if p.price&gt;0 select new { Owner=from q in db.Users select q.Name } else select …

  9. How LINQ works internally? - Stack Overflow

    Mar 22, 2009 · I love using LINQ in .NET, but I want to know how that works internally?

  10. LINQ: Select an object and change some properties without …

    I want to change some properties of a LINQ query result object without creating a new object and manually setting every property. Is this possible? Example: var list = from something in …