Ravi Vishwakarma is a dedicated Software Developer with a passion for crafting efficient and innovative solutions. With a keen eye for detail and years of experience, he excels in developing robust software systems that meet client needs. His expertise spans across multiple programming languages and technologies, making him a valuable asset in any software development project.
ICSM Computer
19-Jun-2025What is the difference between
IEnumerable,IQueryable, andListin C#?IEnumerable: Used to iterate over a collection. It executes queries in-memory (deferred execution).IQueryable: Supports LINQ queries with deferred execution, but translates them to SQL when working with databases like Entity Framework.List<T>: A concrete data structure that holds elements in memory with immediate execution.Example: