Q:

convert list to ienumerable

using Linq;

IEnumerable<int> enumerable = Enumerable.Range(1, 300);
List<int> asList = enumerable.ToList();
2
List<Book> list = new List<Book>();
return list.AsEnumerable();
0

New to Communities?

Join the community