Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var array = new[] { 'A', 'B', 'C', 'D', 'E', 'F', 'G' , 'H'};
var arraySlice = array.Skip(1).Take(3).ToArray(); // contains 'B', 'C' and 'D'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment