• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Dotnet Stuff

  • Home
  • Articles
  • Tutorials
  • Forums
  • Career Advice
  • Jobs
  • .NET FAQs
  • News
  • Privacy Policy

Reply To: What is the Difference Between IEnumerable and IQueryable in C#

Home › Forums › C# › What is the Difference Between IEnumerable and IQueryable in C# › Reply To: What is the Difference Between IEnumerable and IQueryable in C#

July 2, 2017 at 6:43 pm #1075
Rajeev
Keymaster

The main difference between IEnumerable and IQueryable in C# is,

IEnumerable is suitable for querying data from in-memory collections such as Array and List.IEnumerable is beneficial for LINQ to XML and LINQ to Object queries.

IQueryable is suitable for querying data from out-of-memory collections such as databases.IQueryable is beneficial for Linq to SQL queries.

Related Posts:

  • OWIN Authentication in .NET Core
  • Serializing and Deserializing JSON using Jsonconvertor in C#
  • What is CAP Theorem? | What is Brewer’s Theorem?
  • SOLID -Basic Software Design Principles
  • What is Interface Segregation Principle (ISP) in SOLID Design Principles?

Primary Sidebar

Recent Posts

  • OWIN Authentication in .NET Core
  • Serializing and Deserializing JSON using Jsonconvertor in C#
  • What is CAP Theorem? | What is Brewer’s Theorem?
  • SOLID -Basic Software Design Principles
  • What is Interface Segregation Principle (ISP) in SOLID Design Principles?
  • What is Single Responsibility Principle (SRP) in SOLID Design Priciples?
  • What is the Liskov Substitution Principle(LSP) in SOLID Design Principles?
  • What Depency inversion principle(DIP) in SOLID Design Priciples?
  • What is the Open Closed Principle in SOLID Design Principles?
  • What is the Difference Between Database Partitioning and Sharding?

Recent Forum Topics

  • What is the Difference Between IEnumerable and IQueryable in C#
  • How to remove Header of the XML file in C#?
  • What is DBMS?
  • What is RDBMS?
  • What is asp net framework ?

© Copywright 2017 Dotnetstuffs All Rights Reserved