tags:

views:

55

answers:

1

That's it. The question is in the title

I was looking for a cleaner way than the using for...break;

thanks

+7  A: 

This should do it!

var items = new List<int>(){ 1, 2, 3, 4, 5 };
var results = items.Take(3);
Pwninstein