Error!
Success!

Returning the first few items from an Array list, like TSQL Top()

0
kicks

Returning the first few items from an Array list, like TSQL Top()  (Unpublished)

I needed to bind the first 5 items in a List<T> to a repeater. Having recently discovered the .Distinct() extension, I had a look through the other methods attached to my List<T> and found .Take(int)


Kicked By:
Drop Kicked By: