C#: LINQ – Skip N number objects during get

Please see my other LINQ articles.

Use Skip() to ignore n when getting objects.

In this article I’ll demonstrate how to use Skip() to ignore a set number of objects when building a collection.

First, I’ll get a collection of static Person objects.

Now I’ll call Skip() on my collection using Method syntax and only retrieve the second object.

.NET Fiddle: LINQ: Skip