Slowly but surely I'm starting to get the huge benefits Linq is bringing into our lives. Take a look at the following code snippet, which retrieves values from an array in a specified range:
var range = cData.Where((d, index) => index >= (i - 40) && index < (i));
Sweet!
No comments:
Post a Comment