Syntax to get the collection size in a linq query? -
i trying use skip(n) function in linq query. problem need know collection size (count()) inorder calculate n.
i having trouble wrapping head around query below... how collection size inside skip part of query below ?
var t = row in db.table <clause>         orderby <row> ascending          group row <row>         select a).orderby(x => x.key).skip(math.max(0, <need know collection size> - n ).todictionary(......       
 
Comments
Post a Comment