What's the LINQ syntax to take all rows except the first one? Does LINQ offer a nice concise way to do it?
var allButTheFirst = collection.Skip(1);
More info:
http://msdn.microsoft.com/en-us/library/bb358985.aspx
You can use the Skip(TSource) extension method on any IEnumerable.
var allButFirst = rows.Skip(1);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With