How I can convert System.Collection.IEnumerable
to list in c#?
Actually I am executing a store procedure that is giving me ResultSets in System.Collection.IEnumerable
and I want to convert that result set to c# List<User>
.
Note I don't want to use any loop. Is there a way of type casting!