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

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • For more such videos visit www.questpond.com
    For more such videos subscribe / questpondvideos
    See our other Step by Step video series below :-
    JavaScript Interview Questions: • JavaScript Interview Q...
    C# tutorial for beginners (4 hrs):- • C# Tutorial for Beginn...
    Abstract class vs Interface in C# :- • Abstract Class vs Inte...
    ASP.NET MVC Core Interview Questions with answers:- • ASP.NET MVC Interview ...
    Angular Interview Questions and Answers :- • Angular Interview Ques...
    C# interview questions and answers:- • C# Interview Questions...
    Azure AZ-900 fundamentals certification :- • AZ 900 Certification |...
    Learn Angular tutorial step by step tinyurl.com/ycd9j895
    Learn MVC Core step by step :- tinyurl.com/y9jt3wkv
    Learn Design Pattern Step by Step goo.gl/eJdn0m
    Python Tutorial for Beginners:- • Python Tutorial for Be...
    Learn Data Science in 1 hour :- tinyurl.com/y5o7qbau
    Learn Power BI Step by Step:- tinyurl.com/y6thhkxw
    PHP Interview Questions : • PHP Interview Question...
    Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
    Learn Tableau step by step :- tinyurl.com/kh6ojyo
    Learn SQL Server Step by Step tinyurl.com/ja4zmwu
    Learn SharePoint Step by Step in 8 hours:- goo.gl/XQKHeP
    Difference between ienumerable vs iqueryable c#
    -----------------------------------------------------------------------------------------------
    For more details :-
    🌐 Website : www.questpond.com
    📱 Mob. No. : +91-9967590707 / +91 7700975156 / +91-22-49786776
    📧Email : questpond@questpond.com / questpond@gmail.com / questpond@yahoo.com
    Share, Support, Subscribe and Connect us on!!!
    CZcams: / questpondvideos
    Twitter: / questpond
    Instagram : / questpond
    Facebook : / questpond
    #DifferenceBetweenIEnumerable&Iqueryable #CSharpIEnumerable #CSharpIqueryable #C#Questions #CsharpInterviewQuestions #C#InterviewQuestions&Answers

Komentáře • 113

  • @questpondvideos
    @questpondvideos  Před 3 lety +1

    ASP.NET, C# Job Market : czcams.com/video/H3JEWAp32-s/video.html
    30 Important C# Interview Questions : czcams.com/video/BKynEBPqiIM/video.html
    Software Architecture Interview Questions : czcams.com/video/AtTgcbLOqMM/video.html
    25+ OOPS Interview Questions : czcams.com/video/u99wAoBjDvQ/video.html
    20+ SQL Server Interview Questions : czcams.com/video/SEdAF8mSKS4/video.html
    10+ Power BI Interview Questions : czcams.com/video/Cozc9WNBRt4/video.html
    20 MSBI Interview Questions : czcams.com/video/Nw_sHEKnOUE/video.html
    SQL Server Joins : czcams.com/video/KTvYHEntvn8/video.html
    SQL Step by Step - czcams.com/video/uGlfP9o7kmY/video.html
    Angular Step by Step Tutorial for Beginners : czcams.com/video/-9VcW7MBDs8/video.html
    25 Angular Interview Questions : czcams.com/video/-jeoyDJDsSM/video.html
    25 Important ASP.NET Interview Questions : czcams.com/video/pXmMdmJUC0g/video.html
    35 Important JavaScript Interview Questions : czcams.com/video/Zb4dPi7CANU/video.html
    20 MySQL Interview Questions : czcams.com/video/9hfjC-BpY20/video.html
    5 MSBI Interview Questions : czcams.com/video/5E815aXAwYQ/video.html
    20 PHP Interview Questions : czcams.com/video/1bpNSynUrl8/video.html

  • @ladanseyedzadeh1090
    @ladanseyedzadeh1090 Před 2 lety +10

    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.

  • @zebcode
    @zebcode Před 4 lety +27

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

  • @pearsonkevin4699
    @pearsonkevin4699 Před 3 lety

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

  • @CezarLisboa1990
    @CezarLisboa1990 Před 4 lety +3

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

  • @kopilkaiser8991
    @kopilkaiser8991 Před rokem

    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.

  • @BrutusPalmeira
    @BrutusPalmeira Před 4 lety +1

    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?

  • @MrTanveer416
    @MrTanveer416 Před 5 lety +3

    Excellent explanation within a very short time.

  • @cristianfarcas3272
    @cristianfarcas3272 Před 2 lety

    I've been looking for this kind of video for a couple of hours already. great job!

  • @mrmanualways
    @mrmanualways Před 5 lety +9

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

  • @AhmadElkhouly
    @AhmadElkhouly Před 3 měsíci

    Thank you. This 7-minute video indirectly answered a question I've been trying to find an answer to for a while. Subscribed. 🎉

  • @thesuperiorman8342
    @thesuperiorman8342 Před 4 lety

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

  • @musabalriani550
    @musabalriani550 Před 5 lety

    Thanks a lot ,This is the best advice in my day.

  • @doctonb
    @doctonb Před 5 lety

    Great explanation and information, thank you!

  • @shreekantnoida
    @shreekantnoida Před 4 lety

    I really see awesome practical example. thanks a lot sir.

  • @suvmatrix
    @suvmatrix Před 2 lety

    Awesome way of showing the difference. That's what I like in your content

  • @attilaguba856
    @attilaguba856 Před 2 lety

    Super great explanation! Clearly understandable! Thanks!!! Keep up your good teaching

  • @govindwaghmode6379
    @govindwaghmode6379 Před 4 lety

    Great explanation sir. Thank you so much.

  • @AjaySaini-107
    @AjaySaini-107 Před 4 lety

    Really cleared explanation in simple words.

  • @malkitsaggu
    @malkitsaggu Před 5 lety

    Very clear explanation. Thank you.

  • @perumalchinnasamy1735
    @perumalchinnasamy1735 Před 4 lety

    Very nice explanation, Great man!, thank you so much!

  • @bensonputhethu5918
    @bensonputhethu5918 Před 3 lety

    This video was awesome, straight to the point!

  • @zaharivaklinov
    @zaharivaklinov Před rokem

    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...

  • @avinash23525
    @avinash23525 Před 4 lety

    Nice. well explained !. can't we filter while loading Employee table or using linq ?

  • @vikasverma4215
    @vikasverma4215 Před 5 lety

    Now clear... Love it.

  • @maha2818
    @maha2818 Před rokem

    Awesome sir. You are great. Nicely explained the topic and very easy to understand the difference. Please keep your awesome teaching.
    Thanks

  • @SimplefundBaba
    @SimplefundBaba Před rokem

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

  • @prasadmadushan
    @prasadmadushan Před 3 lety

    Thank you for your great explanation.

  • @createyourworld2530
    @createyourworld2530 Před 5 lety

    tnx, man! It was really good video and good explaining different between IEnumerable and IQueryable!!! Like!

  • @mrohailiqbal
    @mrohailiqbal Před 2 lety

    Sir you are great. Very useful video. Thanks a lot!!

  • @rhoonah5849
    @rhoonah5849 Před 2 lety

    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.

  • @abhilabdas9870
    @abhilabdas9870 Před 2 lety

    Thank you so much for this explanation! God bless

  • @imadabab
    @imadabab Před 4 lety

    Excellent tutorial. Thanks a lot.

  • @AShahabov
    @AShahabov Před 4 lety

    Thanks for good explanation!

  • @AmmarTheTrainer
    @AmmarTheTrainer Před rokem

    Awesome... what an explanation.. Thank-you sir

  • @noellangcauon7133
    @noellangcauon7133 Před 3 lety

    Thanks bro! keep uploading useful information like this!

  • @RaterisimoCBA
    @RaterisimoCBA Před 2 lety

    Good video ! Simple and concrete answer.

  • @thishandharmakeerthi5327
    @thishandharmakeerthi5327 Před 5 měsíci

    This channel is one of the most underrated channels in youtube.

  • @twitchdude55
    @twitchdude55 Před 2 lety

    very clear explained, nailed it

  • @suchismitasenapati1625

    Nicely explained. Thank you 😊

  • @kumarkashyappandey6278

    You are great, Sir!

  • @narendarsingh4672
    @narendarsingh4672 Před 4 lety

    what a nice tutorial sir ji,great

  • @imadabab
    @imadabab Před 3 lety

    Brilliant. Thanks a lot.

  • @TheXunty
    @TheXunty Před 2 lety +1

    Great explanation, thanks boss.

  • @rezkhan3366
    @rezkhan3366 Před 8 měsíci

    Great explanation. Thanks!

  • @trisonics1
    @trisonics1 Před 5 lety

    nice and informative. Thanks

  • @tahatemuri8170
    @tahatemuri8170 Před 3 lety

    Good show and crystal clear

  • @rutujamokashi6389
    @rutujamokashi6389 Před 3 lety

    It's really very helpful for me...

  • @SweepAndZone
    @SweepAndZone Před 2 měsíci

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

  • @4bitmultiplexer
    @4bitmultiplexer Před 3 lety

    Very excellent explanation...

  • @rajasekharjangam4999
    @rajasekharjangam4999 Před 3 lety

    Very nice explanation bro, thank you

  • @AbhishekPoojara
    @AbhishekPoojara Před 2 lety

    Great One... Superb Exlpaination.

  • @claytonmcgill875
    @claytonmcgill875 Před 2 lety

    Thank you so much for this !

  • @RiskyBizz
    @RiskyBizz Před 5 lety

    nice video, great information

  • @lksharma6843
    @lksharma6843 Před 3 lety

    Explanation was awesome

  • @manoranjansahoo9721
    @manoranjansahoo9721 Před 4 lety

    Thanks for making clear understanding, Please make video on visual studio 2019 tools, its features, tips & hidden tricks etc.

  • @RaviKumar-td1oj
    @RaviKumar-td1oj Před 2 lety

    Great explanation sir.

  • @Iamnontechnical
    @Iamnontechnical Před 5 lety +1

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

  • @MSMOTOVLOGS
    @MSMOTOVLOGS Před 3 lety

    Nice video. To the point. No BS

  • @ayedabboushi7221
    @ayedabboushi7221 Před 4 lety

    Many thanks man.

  • @cesareemauritanie5288
    @cesareemauritanie5288 Před 4 lety

    Thanks a lot !!!

  • @maelorable
    @maelorable Před 4 lety

    VERY useful video.

  • @Uzair_Anwar2299
    @Uzair_Anwar2299 Před 4 lety

    Good explaination

  • @bntdgp
    @bntdgp Před 4 lety

    Unique Explaining

  • @heenapatel1728
    @heenapatel1728 Před rokem

    Great explanation 👍

  • @ale_gallardo
    @ale_gallardo Před 2 lety

    Well explained, thanks

  • @MrJaneHolliday
    @MrJaneHolliday Před 4 lety

    This is neat.

  • @ajaypanse4489
    @ajaypanse4489 Před 7 měsíci

    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

  • @bahalulkabir
    @bahalulkabir Před 3 lety

    Thank you very much

  • @bernardfitzgerald5697
    @bernardfitzgerald5697 Před 4 lety +3

    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 Před rokem +1

      if there are table changes, and if IQueryable doesn't work, most likely even IEnumerable won't work.

  • @DHARMENDRAKUMARdkp
    @DHARMENDRAKUMARdkp Před 4 lety

    Great.......

  • @user-su7sk3bk1r
    @user-su7sk3bk1r Před 2 lety

    Thank you so much

  • @ayedabboushi7221
    @ayedabboushi7221 Před 3 lety

    Many thanks

  • @sidheshwarrandhave5968

    Its good for me
    great sir

  • @finwwwfinwww4669
    @finwwwfinwww4669 Před 2 lety

    Thank you!

  • @moumantimusicalmasti
    @moumantimusicalmasti Před 2 lety

    Thank you sir..

  • @atifzafarkhan6703
    @atifzafarkhan6703 Před 2 lety

    Worth to watch

  • @moubienkayali6718
    @moubienkayali6718 Před rokem

    thanks a lot

  • @sanketshahane5778
    @sanketshahane5778 Před 2 lety

    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..!!

  • @sergeiarhipenko872
    @sergeiarhipenko872 Před 3 lety

    thanks for this vid

  • @sethnejame6786
    @sethnejame6786 Před 3 lety

    Good stuff.

  • @sujitkumarjha7720
    @sujitkumarjha7720 Před 2 lety

    Brilliant 👍

  • @sridevi2011
    @sridevi2011 Před rokem

    Perfect

  • @inAshsHead
    @inAshsHead Před 7 měsíci

    Thanks

  • @mytrolls5866
    @mytrolls5866 Před rokem

    Excellent

  • @DeepakSaini-pv3rq
    @DeepakSaini-pv3rq Před 3 lety

    awesome sir

  • @prudhvirajs494
    @prudhvirajs494 Před 3 lety

    You are awesome 😎

  • @mosesnova
    @mosesnova Před 4 lety

    Great video adds more insight into collections.

  • @lovelybuck
    @lovelybuck Před 4 lety

    Super

  • @ghanshamkashyup6235
    @ghanshamkashyup6235 Před 4 lety

    Super sir

  • @vkeychaudhari
    @vkeychaudhari Před 2 lety

    Best video

  • @SonuSingh-nj6vp
    @SonuSingh-nj6vp Před 3 lety

    Nice

  • @rahulmishra5438
    @rahulmishra5438 Před 4 lety

    At the starting of the video you have shown us the playlist where we'll get those videos??

  • @RahulSharma-ps1rf
    @RahulSharma-ps1rf Před 4 lety +1

    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 Před 2 lety

      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

  • @SmileIfYouhaveTeeth
    @SmileIfYouhaveTeeth Před 4 měsíci

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

  • @artak9439
    @artak9439 Před rokem

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

  • @nandishdhadd5834
    @nandishdhadd5834 Před 4 lety

    In simple words, using Iqueryable will defer query execution..

    • @questpondvideos
      @questpondvideos  Před 4 lety +1

      yes sir , but until we do not see it , simple words are not simple :-) happy learning.

  • @expertreviews1112
    @expertreviews1112 Před 5 lety

    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  Před 5 lety +2

      Interfaces are pointing to a list or some concrete collection

    • @expertreviews1112
      @expertreviews1112 Před 5 lety

      Thank you. Can you point out a resource where I can get this type of info?

  • @nammozhi819
    @nammozhi819 Před 2 lety

    I have interview tomorrow..hope this one helps

    • @questpondvideos
      @questpondvideos  Před 2 lety

      Just prepare this video you should be able to answer 15% of the interview questions czcams.com/video/BKynEBPqiIM/video.html

  • @learningislife2934
    @learningislife2934 Před 2 lety

    Sir please make interface video
    Please 🙏

    • @questpondvideos
      @questpondvideos  Před 2 lety

      Our video on Abstract class & Interfaces you can watch below :-
      czcams.com/video/0EnSPBVrbG0/video.html