linq cheat sheet| Comments
- | Posted in
- visual studio
- .net 3.5
- language integrated query
- keith rull
Thanks for visiting! Just a fair warning this post is fairly 'old' in tech terms and may contain outdated information and/or broken links or pictures. Please verify info and feel free to contact me if questions!
just saw in my feed reader...a cheat sheet by keith rull for LINQ. keith purports that this isn't a definitive list by any means but says:
"It consist of a few snippets that you might commonly do when doing LINQ processing."
he uses this for his most common tasks. when i first start learning anything new, i do the same thing keeping snippets around to help me remember certain things. as an example, can't remember how to do the paging? use keith's cheat:
//take three records var takeThree = listOfPerson.Take(3); //go to the 10th record and then take 3 records from there var skipTenTakeThree = listOfPerson.Skip(10).Take(3);
thanks for posting keith and look forward to your updates!
Please enjoy some of these other recent posts...