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

No top articles yet