convert ienumerable to list
using Linq;
IEnumerable<int> enumerable = Enumerable.Range(1, 300);
List<int> asList = enumerable.ToList();
convert ienumerable to list
using Linq;
IEnumerable<int> enumerable = Enumerable.Range(1, 300);
List<int> asList = enumerable.ToList();
convert list to ienumerable
List<Book> list = new List<Book>();
return list.AsEnumerable();
c# ienumerable to list
List<object> list = enumerable.ToList();
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us