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

  Рет қаралды 190,248

Questpond

Questpond

Күн бұрын

Пікірлер: 120
@questpondvideos
@questpondvideos 3 жыл бұрын
30 Important C# Interview Questions : kzbin.info/www/bejne/eHzcn3h4hdacf68 Software Architecture Interview Questions : kzbin.info/www/bejne/d6W3mJaYgbSkg68 25+ OOPS Interview Questions : kzbin.info/www/bejne/q2qcqHSld893rLM 20+ SQL Server Interview Questions : kzbin.info/www/bejne/iXbHcnluorh-iZY 10+ Power BI Interview Questions : kzbin.info/www/bejne/eaDdlGyNg6eFqpY 20 MSBI Interview Questions : kzbin.info/www/bejne/hKjCpHt7gNOCi6c SQL Server Joins : kzbin.info/www/bejne/gYXZint7o9mppJo SQL Step by Step - kzbin.info/www/bejne/q3jPl4NvpJyeo7s Angular Step by Step Tutorial for Beginners : kzbin.info/www/bejne/Y2q5lIptgqd3qZo 25 Angular Interview Questions : kzbin.info/www/bejne/Y5vIoKx6f6mmia8 25 Important ASP.NET Interview Questions : kzbin.info/www/bejne/ponQfpejf7p2Zsk 35 Important JavaScript Interview Questions : kzbin.info/www/bejne/kJOXlYOfbKh0hLc 20 MySQL Interview Questions : kzbin.info/www/bejne/b5nJm3Zjd9WMaJI 5 MSBI Interview Questions : kzbin.info/www/bejne/a3abYmiXjaaqj7M 20 PHP Interview Questions : kzbin.info/www/bejne/Z5PTf4avo7qlopo
@zebcode
@zebcode 4 жыл бұрын
Straight to the point, you answered the question and visually showed the effects of using IQueryable using the profiler. Very well done!
@ladanseyedzadeh1090
@ladanseyedzadeh1090 2 жыл бұрын
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.
@kopilkaiser8991
@kopilkaiser8991 2 жыл бұрын
In my junior dev job, they were using different places interechangeably these two collection types: IEnumerable & IQueryable. And I was very confused with the requirement of doing such implementation. You have clarified my doubts and questions. And it makes a big difference of using the two different types of collections when we are mutating the various different objects. Thank you so much for taking the effort and time to deliver such essential information.
@AhmadElkhouly
@AhmadElkhouly 9 ай бұрын
Thank you. This 7-minute video indirectly answered a question I've been trying to find an answer to for a while. Subscribed. 🎉
@mrmanualways
@mrmanualways 6 жыл бұрын
awesome bro.. can't say thank you enough to all youtube teachers .. Happy 2019
@MrTanveer416
@MrTanveer416 6 жыл бұрын
Excellent explanation within a very short time.
@zaharivaklinov
@zaharivaklinov 2 жыл бұрын
Great video with the answer on the question! I failed an interview the other day due to some failed answer attempts, one of which was about the difference between IEnumerable and IQueryable...
@cristianfarcas3272
@cristianfarcas3272 3 жыл бұрын
I've been looking for this kind of video for a couple of hours already. great job!
@CezarLisboa1990
@CezarLisboa1990 5 жыл бұрын
Perfect! Great video! Very useful for deciding to use both interfaces. Thank you!
@maha2818
@maha2818 2 жыл бұрын
Awesome sir. You are great. Nicely explained the topic and very easy to understand the difference. Please keep your awesome teaching. Thanks
@pearsonkevin4699
@pearsonkevin4699 3 жыл бұрын
Short and sweet yet taught ME the difference! Thank you!!!
@thishandharmakeerthi5327
@thishandharmakeerthi5327 11 ай бұрын
This channel is one of the most underrated channels in youtube.
@suvmatrix
@suvmatrix 2 жыл бұрын
Awesome way of showing the difference. That's what I like in your content
@SimplefundBaba
@SimplefundBaba 2 жыл бұрын
Great video, i was always confused to these concept. but today i am fully clear on this concept.
@thesuperiorman8342
@thesuperiorman8342 5 жыл бұрын
I like the way you explain these topics in all your videos.
@attilaguba856
@attilaguba856 3 жыл бұрын
Super great explanation! Clearly understandable! Thanks!!! Keep up your good teaching
@AjaySaini-107
@AjaySaini-107 4 жыл бұрын
Really cleared explanation in simple words.
@shreekantnoida
@shreekantnoida 4 жыл бұрын
I really see awesome practical example. thanks a lot sir.
@AbhishekPoojara
@AbhishekPoojara 2 жыл бұрын
Great One... Superb Exlpaination.
@twitchdude55
@twitchdude55 2 жыл бұрын
very clear explained, nailed it
@SweepAndZone
@SweepAndZone 9 ай бұрын
❤ 😮 wow thats awesome! This can be a huge performance hindrance
@bensonputhethu5918
@bensonputhethu5918 4 жыл бұрын
This video was awesome, straight to the point!
@mrohailiqbal
@mrohailiqbal 3 жыл бұрын
Sir you are great. Very useful video. Thanks a lot!!
@AmmarTheTrainer
@AmmarTheTrainer 2 жыл бұрын
Awesome... what an explanation.. Thank-you sir
@abhilabdas9870
@abhilabdas9870 2 жыл бұрын
Thank you so much for this explanation! God bless
@gulbadanofficial3135
@gulbadanofficial3135 5 ай бұрын
Thank You Sir It helps a lot 😍.. Good information
@heenapatel1728
@heenapatel1728 Жыл бұрын
Great explanation 👍
@lksharma6843
@lksharma6843 3 жыл бұрын
Explanation was awesome
@musabalriani550
@musabalriani550 6 жыл бұрын
Thanks a lot ,This is the best advice in my day.
@malkitsaggu
@malkitsaggu 6 жыл бұрын
Very clear explanation. Thank you.
@BrutusPalmeira
@BrutusPalmeira 5 жыл бұрын
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?
@ajaypanse4489
@ajaypanse4489 Жыл бұрын
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
@rhoonah5849
@rhoonah5849 3 жыл бұрын
Excellent video. Very simply explanation of the differences between IQueryable and IEnumerable with EF. Quick question though... if you applied a ToList() on the end of where you called dal.Employees so it was dal.Employees.ToList(), would all calls now be in memory? So would you only have gone to the DB once to load the Employees table and then all filters are just applied to the in memory list? Thank you.
@rezkhan3366
@rezkhan3366 Жыл бұрын
Great explanation. Thanks!
@RaterisimoCBA
@RaterisimoCBA 3 жыл бұрын
Good video ! Simple and concrete answer.
@rutujamokashi6389
@rutujamokashi6389 4 жыл бұрын
It's really very helpful for me...
@tamagofukunaga
@tamagofukunaga 5 жыл бұрын
Great explanation and information, thank you!
@prasadmadushan
@prasadmadushan 4 жыл бұрын
Thank you for your great explanation.
@govindwaghmode6379
@govindwaghmode6379 4 жыл бұрын
Great explanation sir. Thank you so much.
@bernardfitzgerald5697
@bernardfitzgerald5697 5 жыл бұрын
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
@OT-tn7ci
@OT-tn7ci 2 жыл бұрын
if there are table changes, and if IQueryable doesn't work, most likely even IEnumerable won't work.
@4bitmultiplexer
@4bitmultiplexer 4 жыл бұрын
Very excellent explanation...
@tahatemuri8170
@tahatemuri8170 4 жыл бұрын
Good show and crystal clear
@EMWMIKE
@EMWMIKE Ай бұрын
I think it is missed that depending on what indexes exists on the table in database. Iquariable is not allways the better choise in a high performance volume environment. So many times it is better to hit indexes and pull that data, then to the filtering on client side
@vikasverma4215
@vikasverma4215 5 жыл бұрын
Now clear... Love it.
@sujitkumarjha7720
@sujitkumarjha7720 2 жыл бұрын
Brilliant 👍
@narendarsingh4672
@narendarsingh4672 4 жыл бұрын
what a nice tutorial sir ji,great
@perumalchinnasamy1735
@perumalchinnasamy1735 5 жыл бұрын
Very nice explanation, Great man!, thank you so much!
@rajasekharjangam4999
@rajasekharjangam4999 4 жыл бұрын
Very nice explanation bro, thank you
@SreenivasPagadala
@SreenivasPagadala Ай бұрын
Very good example.
@questpondvideos
@questpondvideos Ай бұрын
Thank you for the feedback.
@kumarkashyappandey6278
@kumarkashyappandey6278 4 жыл бұрын
You are great, Sir!
@MSMOTOVLOGS
@MSMOTOVLOGS 3 жыл бұрын
Nice video. To the point. No BS
@noellangcauon7133
@noellangcauon7133 4 жыл бұрын
Thanks bro! keep uploading useful information like this!
@RahulSharma-ps1rf
@RahulSharma-ps1rf 4 жыл бұрын
Hello Sir, I have one question. We have 2 options to get data from DB using EF ie. List data = _context.tableName.AsQueryable().Where(x => x.id == 33144).ToList(); and List data = _context.TableName.Where(x => x.id == 33144).ToList();. Both have same impact when we see in SQL profiler then why to use IQueryable?
@MohammedDawoodAnsari
@MohammedDawoodAnsari 3 жыл бұрын
Another use case would be to add filters on run time, for example in your query if there is one more parameter lets say as name, so if name filter needs to be applied based on condition, then also you can use IQuerayable
@AShahabov
@AShahabov 5 жыл бұрын
Thanks for good explanation!
@bntdgp
@bntdgp 4 жыл бұрын
Unique Explaining
@heezukaa8803
@heezukaa8803 5 ай бұрын
Your amazing thank you.
@ale_gallardo
@ale_gallardo 3 жыл бұрын
Well explained, thanks
@mytrolls5866
@mytrolls5866 2 жыл бұрын
Excellent
@imadabab
@imadabab 4 жыл бұрын
Brilliant. Thanks a lot.
@sidheshwarrandhave5968
@sidheshwarrandhave5968 3 жыл бұрын
Its good for me great sir
@createyourworld2530
@createyourworld2530 5 жыл бұрын
tnx, man! It was really good video and good explaining different between IEnumerable and IQueryable!!! Like!
@maelorable
@maelorable 4 жыл бұрын
VERY useful video.
@atifzafarkhan6703
@atifzafarkhan6703 3 жыл бұрын
Worth to watch
@prudhvirajs494
@prudhvirajs494 4 жыл бұрын
You are awesome 😎
@claytonmcgill875
@claytonmcgill875 3 жыл бұрын
Thank you so much for this !
@avinash23525
@avinash23525 5 жыл бұрын
Nice. well explained !. can't we filter while loading Employee table or using linq ?
@manoranjansahoo9721
@manoranjansahoo9721 4 жыл бұрын
Thanks for making clear understanding, Please make video on visual studio 2019 tools, its features, tips & hidden tricks etc.
@sanketshahane5778
@sanketshahane5778 3 жыл бұрын
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 results = db.GetTable().Where(Expression); var recordList = results.ToList(); int totalRecords = results.Count(); Please help..! Thank you in advance..!!
@finwwwfinwww4669
@finwwwfinwww4669 3 жыл бұрын
Thank you!
@hasanjaved4939
@hasanjaved4939 2 ай бұрын
Love this video
@questpondvideos
@questpondvideos 2 ай бұрын
Thank You :)
@Iamnontechnical
@Iamnontechnical 6 жыл бұрын
good example, suggestion work more on speech it will become great
@ayedabboushi7221
@ayedabboushi7221 4 жыл бұрын
Many thanks man.
@Uzair_Anwar2299
@Uzair_Anwar2299 5 жыл бұрын
Good explaination
@bahalulkabir
@bahalulkabir 3 жыл бұрын
Thank you very much
@ayedabboushi7221
@ayedabboushi7221 4 жыл бұрын
Many thanks
@MrJaneHolliday
@MrJaneHolliday 4 жыл бұрын
This is neat.
@trisonics1
@trisonics1 5 жыл бұрын
nice and informative. Thanks
@DHARMENDRAKUMARdkp
@DHARMENDRAKUMARdkp 4 жыл бұрын
Great.......
@DeepakSaini-pv3rq
@DeepakSaini-pv3rq 4 жыл бұрын
awesome sir
@RiskyBizz
@RiskyBizz 6 жыл бұрын
nice video, great information
@mosesnova
@mosesnova 4 жыл бұрын
Great video adds more insight into collections.
@sethnejame6786
@sethnejame6786 4 жыл бұрын
Good stuff.
@sumanshah5750
@sumanshah5750 3 ай бұрын
Understand sir
@sridevi2011
@sridevi2011 2 жыл бұрын
Perfect
@saktiprasadswain6546
@saktiprasadswain6546 3 жыл бұрын
Thanks
@nammozhi819
@nammozhi819 2 жыл бұрын
I have interview tomorrow..hope this one helps
@questpondvideos
@questpondvideos 2 жыл бұрын
Just prepare this video you should be able to answer 15% of the interview questions kzbin.info/www/bejne/eHzcn3h4hdacf68
@rahulmishra5438
@rahulmishra5438 4 жыл бұрын
At the starting of the video you have shown us the playlist where we'll get those videos??
@questpondvideos
@questpondvideos 4 жыл бұрын
visit www.questpond.com
@vkeychaudhari
@vkeychaudhari 3 жыл бұрын
Best video
@SmileIfYouhaveTeeth
@SmileIfYouhaveTeeth 10 ай бұрын
Can i get referral for .net developer fresher opening!??
@cesareemauritanie5288
@cesareemauritanie5288 5 жыл бұрын
Thanks a lot !!!
@ghanshamkashyup6235
@ghanshamkashyup6235 4 жыл бұрын
Super sir
@moumantiok
@moumantiok 3 жыл бұрын
Thank you sir..
@sergeiarhipenko872
@sergeiarhipenko872 4 жыл бұрын
thanks for this vid
@SonuSingh-nj6vp
@SonuSingh-nj6vp 4 жыл бұрын
Nice
@nandishdhadd5834
@nandishdhadd5834 5 жыл бұрын
In simple words, using Iqueryable will defer query execution..
@questpondvideos
@questpondvideos 5 жыл бұрын
yes sir , but until we do not see it , simple words are not simple :-) happy learning.
@artak9439
@artak9439 2 жыл бұрын
If I remember IEnumerable uses expression tree and IQueriable uses tree traversial.
@lovelybuck
@lovelybuck 5 жыл бұрын
Super
@learningislife2934
@learningislife2934 3 жыл бұрын
Sir please make interface video Please 🙏
@questpondvideos
@questpondvideos 3 жыл бұрын
Our video on Abstract class & Interfaces you can watch below :- kzbin.info/www/bejne/ZnbRhIN4i9eVfZI
@expertreviews1112
@expertreviews1112 6 жыл бұрын
Hi sir, but I thought interfaces are abstract and don't contain any logic then how are the differences highlighted in the video work.
@questpondvideos
@questpondvideos 6 жыл бұрын
Interfaces are pointing to a list or some concrete collection
@expertreviews1112
@expertreviews1112 6 жыл бұрын
Thank you. Can you point out a resource where I can get this type of info?
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
When to use - IEnumerable vs IList vs ICollection?
12:05
DotNetMastery
Рет қаралды 53 М.
C# Out parameters Vs REF parameters
6:43
.NET Interview Preparation videos
Рет қаралды 288 М.
c# (Csharp) and .NET :- Difference between IEnumerable and IEnumerator.
13:39
.NET Interview Preparation videos
Рет қаралды 496 М.
When to use IEnumerable vs IQueryable?
4:49
DotNetMastery
Рет қаралды 30 М.
Understand your C# queries! IEnumerable & IQueryable in explained
11:28
tutorialsEU - C#
Рет қаралды 41 М.
c# (Csharp):- What is the use of Yield keyword in c# ?
10:35
.NET Interview Preparation videos
Рет қаралды 276 М.