convert list to enumerable code example Example: convert list to ienumerable List<Book> list = new List<Book>(); return list.AsEnumerable();