DISABLE ADBLOCK

ADBlock is blocking some content on the site

ADBlock errore
Results found: 

Question

Hi

I have a question that might sound simple, but I don't use LINQ that much so...

I need to write a simple query that returns 'n' elements that starts on index 'm' from an array. Something like extension method Take<>, but with extra argument 'StartIndex'

Thanks for your time,
Uros Bregar

Solution

.Skip(m).Take(n)

If you like, leave us your opinion

Was the article helpful and is it translated correctly?

Licensed under: CC-BY-SA with attribution
Not affiliated with codeproject.com