Steven Giesel 9/6/2021

IEnumerable vs IQueryable - What's the difference

Read Original

This technical article details the conceptual and practical differences between IEnumerable and IQueryable in C#. It explains how IEnumerable is for in-memory collections, executing filters client-side, while IQueryable uses expression trees to translate queries (e.g., to SQL) for server-side execution, impacting performance significantly when querying databases.

IEnumerable vs IQueryable - What's the difference

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes