About 673,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# - LINQ's Distinct () on a particular property - Stack Overflow

    Jan 29, 2009 · LINQ-Like has nothing to do with preference, being "LINQ-like" has to do with looking like a different query language being embedded into C#, I prefer the fluent interface, …

  3. c# - How to get index using LINQ? - Stack Overflow

    Mar 18, 2010 · 481 This question already has answers here: Get List<> element position in c# using LINQ (11 answers) How to get the index of an element in an IEnumerable? (14 answers)

  4. c# - How do I use LINQ Contains (string - Stack Overflow

    Oct 12, 2008 · I got one big question. I got a linq query to put it simply looks like this: from xx in table where xx.uid.ToString().Contains(string[]) select xx The values of the string[] array would …

  5. c# - How to use LINQ Distinct () with multiple fields - Stack Overflow

    How to use LINQ Distinct () with multiple fields Asked 13 years, 7 months ago Modified 3 years, 2 months ago Viewed 281k times

  6. c# - LEFT OUTER JOIN in LINQ - Stack Overflow

    Apr 11, 2014 · How to perform left outer join in C# LINQ to objects without using join-on-equals-into clauses? Is there any way to do that with where clause? Correct problem: For inner join is …

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

  8. c# - 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# - Select distinct using linq - Stack Overflow

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

  10. c# - LINQ query on a DataTable - Stack Overflow

    Aug 14, 2008 · I'm trying to perform a LINQ query on a DataTable object and bizarrely I am finding that performing such queries on DataTables is not straightforward. For example: var …