CSharp examples for System.Collections.Generic:IEnumerable
Get Range from IEnumerable
using System.Collections.Generic; using System.Collections; using System;// w ww . j av a2 s . com public class Main{ public static IList<T> GetRange<T>(IEnumerable<T> list, int index, int count) { List<T> intermediate = new List<T>(list); return intermediate.GetRange(index, count); } }