LANGREITER.COM plain, simple
      START     INDEX
 
LINQVisualize Context (requires Java Plug-in)
CREATED BY chris • LAST EDITED BY chris 7003 days AGO
Language-integrated Query

msdn.microsoft.com/vcsharp/future/linqsamples/
blogs.msdn.com/danielfe/archive/2005/09/13/464904.aspx

System.Query.Func?

The "Standard Query Operators" (extension methods extending IEnumerable<T>) are declared in [create System.Query.Sequence]; they form a query language for collections. .

Standard Query Operators

Selection

Where
boolean p( x )
boolean p( x, i )
persons.Where( p => p.Age >= 26 );

Projection

Select (map?)
f( x )
f( x, i )
persons.Select( p => new { p.FirstName, p.LastName } );

SelectMany
f( x )
f( x, i )
orders = customers.Select( c => c.Orders );

Partition

Take
f( n )

Skip
f( n )

TakeWhile
bool p( x )
bool p( x, i )

SkipWhile
bool p( x )
bool p( x, i )

Concatenation

Concat
foo.Concat( bar );
Alternately: SelectMany w/ identity selector.

Ordering

OrderBy/ThenBy

Reverse

Grouping

GroupBy

Set

Distinct

Union

Intersect

Except

Conversion

ToSequence

ToArray

ToList

ToDictionary

OfType

Equality

EqualAll

Element

First
none
bool p( x )
bool p( x, i )

FirstOrDefault
none
bool p( x )
bool p( x, i )


ElementAt
i

Generation

Range
start, n

Repeat
x, n

Quantifiers

Any

All

Aggregate

Count

Sum

Min

Max

Average

Fold

p - predicate, x - element, i - index, n - count.


  SEARCH

GET YOUR MOVE ON

  ALMOST ALL ABOUT YOU
So log in, fella — or finally get your langreiter.com account. You always wanted one.
Nearby in the temporal dimension:
Nobody.
... and 121 of the anonymous kind.
Click on Join us in the chatterbox dimension! for a moderate dose of lcom-talk. This will probably not work in Lynx and other browser exotica.


BACKLINKS
  2005-09-14-sparklet
  2007-09-05-sili
  DryadLINQ
  PLINQ


RECENT EDITS (MORE)
  films-seen
  Blood Stone
  y!kes
  wet towel
  B Studio
  Pilcrow News
  Nastassja Kinski
  2011-10-06-steve
  2011-10-06
  comment-2011-08-04-1

POWERED BY
Special Entanglement Forces provided by Vanilla

&c.
GeoURL RSS 0.92

FRIENDLY SHOPS
Uncut Games bei Gameware

OFFEN!
Offenlegung gem. §25 MedienG:
Christian Langreiter, Langkampfen
See also: Privacy policy.



 
EDIT