KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
i would like to iterate over the items of a List<T> , except the first, preserving the order. Is there an elegant way to do it with LINQ using a statement like: foreach (var item in list.Skip(1). TakeTheRest() ) {.... I played around with TakeWhile , but was not successful. Probably there is also another, simple way of doing it?
Tags (comma-separated)
Save Edits
Cancel