Page 2 of 691.3.4Where - Drilldown....................................................................................................................17
1.3.5Where - Indexed......................................................................................................................18
1.4Projection Operators.......................................................................................................19
1.4.1Select - Simple 1......................................................................................................................19
1.4.1.1Linq6 in focus....................................................................................................................................19
1.4.2Select - Simple 2......................................................................................................................20
1.4.3Select - Transformation............................................................................................................20
1.4.4Select - Anonymous Types 1...................................................................................................21
1.4.5Select - Anonymous Types 2...................................................................................................21
1.4.6Select - Anonymous Types 3...................................................................................................22
1.4.7Select - Indexed.......................................................................................................................22
1.4.8Select - Filtered........................................................................................................................23
1.4.9SelectMany - Compound from 1..............................................................................................23
1.4.10SelectMany - Compound from 2............................................................................................24
1.4.11SelectMany - Compound from 3............................................................................................24
1.4.12SelectMany - from Assignment..............................................................................................25
1.4.13SelectMany - Multiple from....................................................................................................26
1.4.14SelectMany - Indexed............................................................................................................27
1.5Partitioning Operators.....................................................................................................28
1.5.1Take - Simple...........................................................................................................................28
1.5.2Take - Nested..........................................................................................................................28
1.5.2.1First two customers in Washington and all their orders....................................................................29
1.5.2.2First 3 customers in Washington and their first 5 orders...................................................................29
1.5.3Skip - Simple............................................................................................................................29
1.5.4Skip - Nested...........................................................................................................................29
1.5.5TakeWhile - Simple..................................................................................................................30
1.5.6TakeWhile - Indexed................................................................................................................30
1.5.7SkipWhile - Simple...................................................................................................................31
1.5.8SkipWhile - Indexed.................................................................................................................31
1.6Ordering Operators.........................................................................................................31
1.6.1OrderBy - Simple 1..................................................................................................................31
1.6.2OrderBy - Simple 2..................................................................................................................32
1.6.3OrderBy - Simple 3..................................................................................................................32
1.6.3.1Where is the difference?....................................................................................................................32
1.6.4OrderBy - Comparer................................................................................................................33
1.6.5OrderByDescending - Simple 1...............................................................................................33
1.6.6OrderByDescending - Simple 2...............................................................................................33
1.6.7OrderByDescending - Comparer.............................................................................................34
1.6.8ThenBy - Simple......................................................................................................................34
1.6.9ThenBy - Comparer.................................................................................................................35
1.6.10ThenByDescending - Simple.................................................................................................35
1.6.11ThenByDescending - Comparer............................................................................................35
1.6.12Reverse..................................................................................................................................36
1.7Grouping Operators........................................................................................................36
1.7.1GroupBy - Simple 1..................................................................................................................36
1.7.2GroupBy - Simple 2..................................................................................................................37
1.7.3GroupBy - Simple 3..................................................................................................................37
1.7.4GroupBy - Nested....................................................................................................................38
1.7.5GroupBy – Comparer...............................................................................................................38
1.7.6GroupBy – Comparer, Mapped................................................................................................38
1.8Set Operators.................................................................................................................39
1.8.1Distinct - 1................................................................................................................................39
1.8.2Distinct - 2................................................................................................................................39
1.8.3Union - 1..................................................................................................................................40
1.8.4Union - 2..................................................................................................................................40
1.8.5Intersect - 1..............................................................................................................................41
1.8.6Intersect - 2..............................................................................................................................41
1.8.7Except - 1.................................................................................................................................42
1.8.8Except - 2.................................................................................................................................42
Add a Comment
uploaded a new revision for this document (#2)