About 27,600,000 results
Open links in new tab
  1. 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 …

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

  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# - What is LINQ and what does it do? - Stack Overflow

    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 own data …

  5. c# - How can I get LINQ to return the object which has the max …

    How to perform .Max () on a property of all objects in a collection and return the object with maximum value [duplicate] (9 answers)

  6. How to update value in a List using LINQ - Stack Overflow

    May 5, 2015 · 50 LINQ is for querying, not for updating the data. Use LINQ to get the items that you want to modify, and then modify them in a foreach loop:

  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. c# - LIKE operator in LINQ - Stack Overflow

    Mar 21, 2011 · Is there any way to compare strings in a C# LINQ expression similar to SQL's LIKE operator? Suppose I have a string list. On this list I want to search a string. In SQL, I …

  9. c# - Select distinct using linq - Stack Overflow

    Select distinct using linq [duplicate] Asked 12 years, 3 months ago Modified 8 years, 5 months ago Viewed 848k times

  10. c# - For vs. Linq - Performance vs. Future - Stack Overflow

    LINQ Lambda queries for sure add a penalty over LINQ Where queries or a For Loop. In the following code, it fills a list with 1000001 multi-parameter objects and then searches for a …