Wednesday, July 31, 2013

LInQ (Language Integrated Query)

from: [http://developer.alexanderklimov.ru/linq.php]

initialization:

var criteria =
from variable in source
where ...
select variable or group;

call:

foreach (int i in criteria) Console.Write(i + " ");

also used:
ascending, by , descending, equals, from, group, in, into, join, let, on, orderby, select, where

No comments:

Post a Comment