Take and Skip Methods

Learn how to choose and leave out more than one element using the Take and Skip methods.

How to choose and leave elements from the collection

With the First and FirstOrDefault methods, we choose only the first element of a collection. The Take method returns a new collection with the first contiguous elements of a collection. The First method is equivalent to Take(1).

But, what if we want to leave out the first elements of a collection? We can use the Skip method. It returns a new collection without its first elements.

Let’s see the Take and Skip methods in action.

Get hands-on with 1400+ tech skills courses.