C#/.NET Little Wonders–The List<T> Range Methods

added by BlackRabbitCoder
2/24/2012 9:56:01 AM

4 Kicks, 335 Views

While LINQ gives a lot of power to query IEnumerable<T> sequences in general, many of the collections themselves have specialized methods that allow manipulation and efficient queries. In particular, the List<T> class contains four methods to query and manipulate ranges of items: AddRange(), InsertRange(), RemoveRange(), and GetRange().


2/23/2012 7:19:59 PM
new post