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

  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. LINQ Where with AND OR condition - Stack Overflow

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

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

  6. 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:

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

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

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

    Apr 25, 2017 · Wide range of operators provided by default, and others can easily be added for LINQ to Objects Language features introduced primarily for LINQ are widely applicable …

  9. Is a LINQ statement faster than a 'foreach' loop? - Stack Overflow

    Jul 1, 2010 · With other LINQ providers like LINQ-to-SQL, then since the query can filter at the server it should be much better than a flat foreach, but most likely you wouldn't have done a …

  10. LINQ equivalent of foreach for IEnumerable<T> - Stack Overflow

    I'd like to do the equivalent of the following in LINQ, but I can't figure out how: As others have pointed out here and abroad LINQ and IEnumerable methods are expected to be side-effect …