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: var animals = new List<string>() { “dog”, “cat”, “lion”, “duck”, “fish” }; 1 var animals = new List<string>() { “dog”, “cat”, “lion”, “duck”, “fish” }; Now … Continue reading C# – LINQ Skip Example