Returning the first few items from an Array list, like TSQL Top()(geekzilla.co.uk)
submitted by
phayman(3550) 3 years, 11 months ago
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)
|category: C#
|Views: 4
tags:
C# another
Everyones tags:
Your Tags: