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

    LINQ To Entities - examine the System.Data.Objects namespace. Especially note the ObjectContext. This is a DataAccess technology built by the ADO.NET team. It is complex, …

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

    Jan 11, 2016 · LINQ select with more than one condition using OR. 1. Linq Where Clause 'AND' 'OR' Hot Network Questions

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

    Jun 6, 2009 · The "IN" clause is built into linq via the .Contains() method. For example, to get all People whose ...

  5. How LINQ works internally? - Stack Overflow

    Mar 22, 2009 · Basically linq is a mixture of some language facilities (compiler) and some framework extensions. So when you write linq queries, they get executed using appropriate …

  6. How can I conditionally apply a Linq operator? - Stack Overflow

    Jul 1, 2021 · This construct includes the 'or' part of the expression in the generated SQL query. The accepted answer will generate more efficient statements. Depending on the data …

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

  8. Sort list in C# with LINQ - Stack Overflow

    Jul 3, 2012 · Well, the simplest way using LINQ would be something like this: list = list.OrderBy(x => x.AVC ? 0 : 1) .ToList(); or. list = list.OrderByDescending(x => x.AVC) .ToList(); I believe …

  9. When to use .First and when to use .FirstOrDefault with LINQ?

    Jun 22, 2009 · linq many ways to implement single simple query on collections, just we write joins in sql, a filter can be applied first or last depending on the need and necessity. Here is an …

  10. c# - What is the "=>" sign in LINQ queries? - Stack Overflow

    Apr 10, 2015 · The => operator is used in lambda expressions. The best way to think of this is a type of syntax for writing a function, where the left side of the operator is the parameters for …

Refresh