101 LINQ samples (from msdn)

Source: Internet
Author: User
ArticleDirectory
    • Restriction Operators
    • Projection operators
    • Partitioning Operators
    • Ordering Operators
    • Grouping operators
    • Set Operators
    • Conversion Operators
    • Element Operators
    • Generation Operators
    • Quantifiers
    • Aggregate Operators
    • Miscellaneous Operators
    • Custom sequence Operators
    • Query execution
101 LINQ Samples
Restriction Operators
    • Where-simple 1
    • Where-simple 2
    • Where-simple 3
    • Where-Drilldown
    • Where-indexed
Projection operators
    • Select-simple 1
    • Select-simple 2
    • Select-Transformation
    • Select-anonymous types 1
    • Select-anonymous types 2
    • Select-anonymous types 3
    • Select-indexed
    • Select-filtered
    • Selectcenters-compound from 1
    • Selectcenters-compound from 2
    • Selectcenters-compound from 3
    • Selectsequence-from assignment
    • Selectexample-multiple from
    • Select‑indexed
Partitioning Operators
    • Take-simple
    • Take-nested
    • Skip-simple
    • Skip-nested
    • Takewhile-simple
    • Skipwhile-simple
    • Skipwhile-indexed
Ordering Operators
    • Orderby-simple 1
    • Orderby-simple 2
    • Orderby-simple 3
    • Orderby-comparer
    • Orderbydescending-simple 1
    • Orderbydescending-simple 2
    • Orderbydescending-comparer
    • Thenby-simple
    • Thenby-comparer
    • Thenbydescending-simple
    • Thenbydescending-comparer
    • Reverse
Grouping operators
    • Groupby-simple 1
    • Groupby-simple 2
    • Groupby-simple 3
    • Groupby-nested
    • Groupby-comparer
    • Groupby-comparer, mapped
Set Operators
    • Distinct-1
    • Distinct-2
    • Union-1
    • Union-2
    • Intersect-1
    • Intersect-2
    • Counter t-1
    • Counter T-2
Conversion Operators
    • To Array
    • To list
    • To dictionary
    • Oftype
Element Operators
    • First-simple
    • First-indexed
    • Firstordefault-simple
    • Firstordefault-Condition
    • Firstordefault-indexed
    • Elementat
Generation Operators
    • Range
    • Repeat
Quantifiers
    • Any-simple
    • Any-indexed
    • Any-grouped
    • All-simple
    • All-indexed
    • All-grouped
aggregate Operators
  • count-simple
  • count-conditional
  • count-indexed
  • count-nested
  • count-grouped
  • sum-simple
  • sum-projection
  • sum-grouped
  • Min-simple
  • Min-projection
  • Min-grouped
  • Min-elements
  • MAX-simple
  • MAX-projection
  • MAX-grouped
  • MAX-elements
  • average-simple
  • average-projection
  • average-grouped
  • fold-simple
  • fold-seed
miscellaneous Operators
  • Concat-1
  • Concat-2
  • interval all-1
  • interval all-2
Custom sequence Operators
  • combine
query execution
  • deferred
  • immediate
  • query reuse

original article
http://msdn2.microsoft.com/en-us/vcsharp/aa336746.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.