List<int> i = new List<int>(); List<int> sublist = i.GetRange(3, 4); var filesToDelete = files.ToList().GetRange(2, files.Length - 2);