Domanda di colloquio di Nelnet

What’s the difference between IEnumberable and IQueryable?

Risposta di colloquio

Anonimo

9 gen 2020

IQueryable inherits from IEnumerable, so anything IEnumerable can do, IQueryable can, too. IEnumerable simply iterates through a collection whereas IQueryable allows more data manipulation.