C# – LINQ Skip Example

Skip is LINQ functionality to filter collection by omitting given number of first elements. Below is an example how to use it.

Let’s create a simple collection of strings:

Now call the Skip function with parameter 2:

Print the filtered collection to screen using foreach loop:


As we can see first two items (dog and cat) are skipped. Please notice the original collection remains unchanged.

Let’s print it to the console: