How to get first N elements of a list in C#?
<p>I'm teaching myself C# and am doing my first project. I would like to use Linq to query a bus schedule, so that at any time I can get the next 5 bus arrival times. How can I limit my query to the first 5 results?</p>

<p>More generally, how can I take a slice of a list in C#? (In Python I would use mylist[:5] to get the first 5 elements.)</p>
