IEnumerable vs IQueryable C# | C# Interview Questions | Csharp Interview Questions and Answers

preview_player
Показать описание
See our other Step by Step video series below :-

Difference between ienumerable vs iqueryable c#
-----------------------------------------------------------------------------------------------
For more details :-
📱 Mob. No. : +91-9967590707 / +91 7700975156 / +91-22-49786776

Share, Support, Subscribe and Connect us on!!!

#DifferenceBetweenIEnumerable&Iqueryable #CSharpIEnumerable #CSharpIqueryable #C#Questions #CsharpInterviewQuestions #C#InterviewQuestions&Answers
Рекомендации по теме
Комментарии
Автор

Straight to the point, you answered the question and visually showed the effects of using IQueryable using the profiler. Very well done!

zebcode
Автор

You are the best instructor in the field of programming based on my experience, I wish I had a professor like you when I studied CE at University. I can not help but admire your natural talent to simplify complex concepts.

ladanseyedzadeh
Автор

Hi Shiv,

Your videos are very good to understand the concepts.
In one of the interviews, along with this difference I was asked which one is having thread safety feature or thread safe.
I couldn't answer it properly. I tried to search on net but didn't get proper answer. Can you help me to get this answer so it will help me to clear that concept.

Thanks

ajaypanse
Автор

Short and sweet yet taught ME the difference! Thank you!!!

pearsonkevin
Автор

I like the way you explain these topics in all your videos.

thesuperiorman
Автор

awesome bro.. can't say thank you enough to all youtube teachers .. Happy 2019

mrmanualways
Автор

Really cleared explanation in simple words.

AjaySaini-
Автор

Great video as always. Of course an example of in memory would have been nice too. If we have an in memory list and we use iqueryable instead of ienumerable, do we get any drawbacks?

BrutusPalmeira
Автор

Might be worth noting that the delay in querying the database could lead to adverse results if there are table changes between creating the interface and applying the filter. Good video though

bernardfitzgerald
Автор

Perfect! Great video! Very useful for deciding to use both interfaces. Thank you!

CezarLisboa
Автор

Excellent explanation within a very short time.

MrTanveer
Автор

If I remember IEnumerable uses expression tree and IQueriable uses tree traversial.

artak
Автор

❤ 😮 wow thats awesome! This can be a huge performance hindrance

SweepAndZone
Автор

Hello Sir, I have one question. We have 2 options to get data from DB using EF ie. List<tableName> data = => x.id == 33144).ToList(); and List<tableName> data = _context.TableName.Where(x => x.id == 33144).ToList();. Both have same impact when we see in SQL profiler then why to use IQueryable?

RahulSharma-psrf
Автор

Thank You Sir It helps a lot 😍.. Good information

gulbadanofficial
Автор

good example, suggestion work more on speech it will become great

Iamnontechnical
Автор

Great video adds more insight into collections.

mosesnova
Автор

Can i get referral for .net developer fresher opening!??

SmileIfYouhaveTeeth
Автор

Very Nicely Explained it sir,
But I have one small query regarding IQueryable, may be it is silly question (don't mind)..!!
If I am declaring IQueryable variable and initializing (getting data from DB) Apply where conditions and filter the data, and in next line I am getting a count() of that variable then there will be 2 DB call (1st for getting data with filtered and 2nd for getting count(*)) or only 1st DB call..??
Ex:
IQueryable<TableName> results =

var recordList = results.ToList();

int totalRecords = results.Count();

Please help..!
Thank you in advance..!!

sanketshahane
Автор

Great video, i was always confused to these concept. but today i am fully clear on this concept.

SimplefundBaba