C# Interview Questions and Answers | Important Csharp Interview Questions | C# Questions

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 373

  • @questpondvideos
    @questpondvideos  3 года назад +34

    20+ Garbage Collection (GC) Interview Questions : ruclips.net/video/RgfuVp2lXIA/видео.html
    Software Architecture Interview Questions : ruclips.net/video/AtTgcbLOqMM/видео.html
    25+ OOPS Interview Questions : ruclips.net/video/u99wAoBjDvQ/видео.html
    25 Important ASP.NET Interview Questions : ruclips.net/video/pXmMdmJUC0g/видео.html
    20+ SQL Server Interview Questions : ruclips.net/video/SEdAF8mSKS4/видео.html
    10+ Power BI Interview Questions : ruclips.net/video/Cozc9WNBRt4/видео.html
    20 MSBI Interview Questions : ruclips.net/video/Nw_sHEKnOUE/видео.html
    SQL Server Joins : ruclips.net/video/KTvYHEntvn8/видео.html
    SQL Step by Step - ruclips.net/video/uGlfP9o7kmY/видео.html
    Angular Step by Step Tutorial for Beginners : ruclips.net/video/-9VcW7MBDs8/видео.html
    25 Angular Interview Questions : ruclips.net/video/-jeoyDJDsSM/видео.html
    35 Important JavaScript Interview Questions : ruclips.net/video/Zb4dPi7CANU/видео.html
    20 MySQL Interview Questions : ruclips.net/video/9hfjC-BpY20/видео.html
    5 MSBI Interview Questions : ruclips.net/video/5E815aXAwYQ/видео.html
    20 PHP Interview Questions : ruclips.net/video/1bpNSynUrl8/видео.html

  • @aricwilliamsdeveloper
    @aricwilliamsdeveloper 2 года назад +64

    very skilled teacher. It's hard finding someone with all the material #1. Then #2 they can teach in a way that connects with the students current understanding level. #3 they do it in a time efficient manner!!! will check out his paid stuff!!!

  • @questpondvideos
    @questpondvideos  3 года назад +44

    C# Interview Questions and Answers.
    0:00​ Introduction
    2:34 Question 1 :- Explain difference between .NET and C# ?
    6:44 Question 2 :- .NET Framework vs .NET Core vs .NET 5.0
    15:08 Question 3 :- What is IL ( Intermediate Language) Code ?
    15:08 Question 4 :- What is the use of JIT ( Just in time compiler) ?
    17:03 Question 5 :- Is it possible to view IL code ?
    18:14 Question 6 :- What is the benefit of compiling in to IL code ?
    20:39 Question 7 :- Does .NET support multiple programming languages ?
    22:52 Question 8 :- What is CLR ( Common Language Runtime) ?
    24:10 Question 9 :- What is managed and unmanaged code ?
    26:21 Question 10 :- Explain the importance of Garbage collector ?
    28:11 Question 11 :- Can garbage collector claim unmanaged objects ?
    28:33 Question 12 :- What is the importance of CTS ?
    30:25 Question 13 :- Explain CLS ?
    33:23 Question 14 :- Difference between Stack vs Heap ?
    35:27 Question 15 :- What are Value types & Reference types?
    36:15 Question 16 :- Explain boxing and unboxing ?
    37:01 Question 17 :- What is consequence of boxing and unboxing ?
    37:32 Question 18 :- Explain casting,implicit casting and explicit casting ?
    39:37 Question 19 :- What can happen during explicit casting ?
    40:48 Question 20 :- Differentiate between Array and ArrayList ?
    43:12 Question 21 :- Whose performance is better array or arraylist ?
    44:22 Question 22 :- What are generic collections ?
    46:20 Question 23 :- What are threads (Multithreading)?
    47:32 Question 24 :- How are threads different from TPL ?
    52:47 Question 25 :- How do we handle exceptions in C#(try/catch)?
    54:43 Question 26 :- What is the need of finally?
    55:49 Question 27 :- Why do we need the out keyword ?
    58:12 Question 28 :- What is the need of Delegates ?
    58:45 Question 29 :- What are events ?
    59:35 Question 30 :- Whats the difference between Abstract class and interface ?
    Question 31 :- What is a Multicast delegates ?
    Question 32 :- What is a Event ?
    Question 33 :- How to create a event ?
    Question 34 :- Delegate vs Events.
    Question 37 :- What is a class and object ?
    Question 38 :- Abstraction vs Encapsulation?
    Question 39 :- Explain Inheritance ?
    Question 40 :- Explain virtual keyword ?
    Question 41 :- What is overriding ?
    Question 42 :- Explain overloading ?
    Question 43 :- Overloading vs Overriding ?
    Question 44 :- What is polymorphism ?
    Question 45 :- Can polymorphism work with out inheritance ?
    Question 46 :- Explain static vs dynamic polymorphism ?
    Question 47 :- Explain operator overloading ?
    Question 48 :- Why do we need Abstract classes ?
    Question 49 :- Are Abstract methods virtual ?
    Question 50 :- Can we create a instance of Abstract classes ?
    Question 51 :- Is it compulsory to implement Abstract methods ?
    Question 52 :- Why simple base class replace Abstract class ?
    Question 53 :- Explain interfaces and why do we need it ?
    Question 54 :- Can we write logic in interface ?
    Question 55 :- Can we define methods as private in interface ?
    Question 56 :- If i want to change interface what's the best practice ?
    Question 57 :- Explain Multiple inheritance in Interface ?
    Question 58 :- Explain Interface Segregation principle ?
    Question 59 :- Can we create instance of interface ?
    Question 60 :- Can we do Multiple inheritance with Abstract classes ?
    Question 61 :- Difference between Abstract and Interfaces?
    Question 62 :- Why do we need constructors ?
    Question 63 :- In parent child which constructor fires first ?
    Question 64 :- How are initializers executed ?
    Question 65 :- How are static constructors executed in Parent child ?
    Question 66 :- When does static constructor fires ?

    • @questpondvideos
      @questpondvideos  2 года назад

      @@naveenchebrolu4010 Hope you have received PDF copy.

    • @gomathikannan9880
      @gomathikannan9880 Месяц назад

      where i find 31 to 66 question?

    • @questpondvideos
      @questpondvideos  Месяц назад

      @@gomathikannan9880 Rest of the questions video you can avail from here - www.questpond.com/c-interview-questions-and-answers/cid69

  • @Dave-nv5rv
    @Dave-nv5rv 2 года назад +6

    Thanks for this great video.
    For the past week I've been watching this once a day. I had a c# interview yesterday and this video helped me get a good job. Thanks so much.

  • @tusharkantidas4622
    @tusharkantidas4622 3 года назад +13

    Shiv sir is superb. He always knew what are the question/s can come in listeners mind while listening to a topic and surprisingly you found he clarifies all your doubts then and there. I have been following him since 2013 (my first job). He is great...

  • @maitreyeekar7509
    @maitreyeekar7509 3 года назад +6

    Awesome Shiv Sir! I have been watching your videos for the past 5 years. They are great! Your explanation is just awesome!

  • @mrrickr121
    @mrrickr121 3 года назад +10

    You are like a superb compiler who can compile the knowledge into every type of learners brain.😎

    • @questpondvideos
      @questpondvideos  3 года назад +2

      Thanks do see our other interview questions and learning videos from www.questpond.com/

  • @narendramylam4739
    @narendramylam4739 3 года назад +18

    One correction: Code that executes under the supervision of CLR is Managed Code and Code that executes under the supervision of Operating system (ex: COM components, file managment etc) is UnManaged Code.

  • @danb5019
    @danb5019 3 года назад +18

    Great video! I noticed the image at 52:11 says the opposite of what you want, use Tasks on new projects, not the old thread approach.

  • @Kobi170
    @Kobi170 3 года назад +4

    I can't believe it was for free. Thanks so much for Your videos, all the content You make. Listening to You is quite enjoyable, topics are explained thoroughly, I have no doubts I'll stay here for a long time.
    Thank You!

  • @abcdeereijgfhd3215
    @abcdeereijgfhd3215 3 года назад +1

    This guy is the god of lecturer. Thx very much!

  • @suyashyadav6531
    @suyashyadav6531 3 года назад +2

    This deserves lot of appreciation. Great content.

  • @varshatavade9271
    @varshatavade9271 3 года назад +2

    You explaied so well that I don't have to review it again to remember... Excellent👏

  • @venkateshpillay3213
    @venkateshpillay3213 3 года назад +5

    Thank you sir!! Great video 😊👍
    One more point want to add on c# function in ref to out keyword : We can return multiple values in .net core c# function by including all return types under () bracket

  • @esubshaik
    @esubshaik 3 года назад +32

    Correction needed in 14 and 15.
    Primitive types can be allocated on heap also if the type is class member. Primitive types allocated on stack only when its declared as local variables or method parameters.
    Value type:
    Value types need not to be only on stack, it can be allocated on heap also if the type is declared as class member.
    Correct definition of value type:
    A type which holds direct value(data) in its memory location called value type.
    If a type holds reference in the memory location then it is reference type.
    Value type and reference type definition not on basis of stack and heap but what its stores in their memory location.
    Please refer MSDN documentation for detail explanation.

    • @rohanshetti7708
      @rohanshetti7708 Год назад

      Kudos to you!!🙌

    • @angel_machariel
      @angel_machariel Год назад

      If I understand it correctly, isn't the reference itself on the stack, but the value it's referencing to, is on the heap?

  • @nikolaybilov9539
    @nikolaybilov9539 Год назад +1

    Thank you so much. Genuine it course absolutely for free and from my sofa. I couldn't believe in possibility of this maybe some years ago. It systemised my haotic and mostly practical knowledge in C sharp a lot. I haven't any plans for changing my job now, but I copied this link in our work chat. I hope our bosses will understand me in a right way 😊

  • @nareshkumarsriparasara2354
    @nareshkumarsriparasara2354 4 месяца назад

    You are a Genius Teacher Sir. You are such a help to all. Gurubhyonamaha 🙏.

  • @RohanShirodkar29
    @RohanShirodkar29 6 месяцев назад +1

    Thank you @questPond Shiv sir, very simplified explanation.

  • @OldMan_Strength
    @OldMan_Strength 3 года назад +2

    Good stuff. He makes it such that his delivery and explanations are clear and engaging.

  • @prasadreddy1859
    @prasadreddy1859 3 года назад +3

    Great explanation. To the point. Thank you so much for making it so simple.

  • @jayanthianu1565
    @jayanthianu1565 Год назад

    Superb video sir. You explained everything with examples. This helps to understand easily.

  • @mrrickr121
    @mrrickr121 3 года назад +3

    Superb quality of explanation...❤️

    • @questpondvideos
      @questpondvideos  3 года назад

      Thanks do visit to Learn .net course www.questpond.com/netc-fundamentals-net-collections-generics/cid22

  • @lakhanmunnur
    @lakhanmunnur 11 месяцев назад

    Boxing is a process of converting values types into reference types:
    Unboxing is a process of converting a reference type which is created from a value type back into value type

  • @Mr__B.
    @Mr__B. 6 месяцев назад

    Golden video that saves so much time! Thank you!

  • @marcuspowers9455
    @marcuspowers9455 Год назад

    Thank you for discussing the important points for interviewing at the end, very important to remember

  • @tusharrasal7059
    @tusharrasal7059 3 года назад +1

    your explanation is excellent and easy 😊 thank you so much for this video

  • @yatiraj9821
    @yatiraj9821 3 года назад +1

    Thank you so much sir. Your explanation is the best. I could understand everything you taught so well!

  • @prashantpatil9906
    @prashantpatil9906 3 года назад

    Shiv sir, you are awesome.. Your explanation is too good..

  • @lifetechnol
    @lifetechnol 8 месяцев назад

    the best teacher ever i have seen.

  • @narayanjha4355
    @narayanjha4355 3 года назад +5

    Great help for me Man, Thank you so much, God bless you, You are doing really good job by helping so many students and developers

  • @smithavelur867
    @smithavelur867 2 года назад +2

    Sir, I am rejoining as a developer after a gap of 10 years.. your video has boosted my confidence multi fold. Thanks a ton ..

    • @kumarayush9950
      @kumarayush9950 Год назад

      Hi Bro, I have 5 years of industry experience as a functional resource, I want to pursue my future career as a dotnet developer.. can you suggest some insights on from how/where should I start.. would be very helpful. Thanks for your help!

  • @10rid
    @10rid 2 года назад

    The interview questions are helpful as it explains the concepts so well using examples and to the point.

  • @shahbazahmadkhan6246
    @shahbazahmadkhan6246 2 года назад +3

    Good explain Questions & Answer

  • @BGiraldox
    @BGiraldox Год назад

    Loved the way how you explain, really kudos to you because to be able to explain a topic easily is because you understand the topic completely, thanks a lot! 👏

  • @nitrogenius
    @nitrogenius 26 дней назад

    thanks so much i am very satisfied how you explained thread and tasks

  • @runawayvon01
    @runawayvon01 Год назад +1

    This appears as a question from the technical round.
    Thank you so much for this because I got the job offer.

  • @sabirinfotech7797
    @sabirinfotech7797 3 года назад +2

    Wow I enjoyed the way you explained shiv pls upload part2 soon thanks.

  • @Itsmegamerwhite
    @Itsmegamerwhite 16 дней назад +1

    Really awesome! thank you ❤

  • @Jdm4292
    @Jdm4292 2 года назад

    Exemplary video! including code snippets and demonstrations is very helpful!

  • @missedputts
    @missedputts 2 года назад +2

    Awesome vid!
    Btw... Parallely isnt a word... I think 'concurrently' is a better choice when talking about threading.

  • @NithyaShivaa
    @NithyaShivaa 3 года назад +1

    Wow Great Explanation Sir🙏🙏
    Thank you so much 😌

  • @Jindra.R
    @Jindra.R 2 года назад +1

    very nice video on "shisharp" :D, thanks.

  • @simnac.p7293
    @simnac.p7293 9 месяцев назад

    Thank you for explaining well 👏

  • @alijohn198
    @alijohn198 3 года назад

    Sir, you are great.... excellent video you've made

  • @vimalpanchal892
    @vimalpanchal892 2 года назад +1

    Great Video Sir, this is very helpful in refreshing all C# concepts real quick... Thank you so much, God bless you.
    Video link shared on my twitter handle and email sent to questpond :)

  • @karimmohamed8001
    @karimmohamed8001 2 года назад +1

    You are an excellent teacher!!! Thank you so much for everything!

  • @vijaykambar2290
    @vijaykambar2290 3 года назад

    Thank u sir, what a great explanation with examples 👍

  • @paulofernandoee
    @paulofernandoee 2 года назад

    Outstanding content, congratulations for the work.

  • @krushnadhavan850
    @krushnadhavan850 2 года назад

    Really Good Content.. Thank for the sharing with us

  • @narasimhareddy9148
    @narasimhareddy9148 2 года назад

    Thanks a lot, Your videos verry useful me crack the Interview Thanks again

  • @MissChandrima
    @MissChandrima 2 года назад

    Thank you so much sir for such detailed and simple explanations! Really hard to find such content that too open for all. Please keep up the good work.🙏🏻

  • @mrlimbu
    @mrlimbu 3 года назад

    Outstanding explanation! Thank you very much.

  • @KuntalPatel152
    @KuntalPatel152 3 года назад

    Awesome examination sir ,thank you so much for great video

  • @OhMiGowD
    @OhMiGowD Год назад +2

    52:43 you mentioned that you will use TPL over Threads but in the video you have an image saying you will always use Thread
    so which one do you recommend, or is there a specific scenario where one is better than the other?

    • @questpondvideos
      @questpondvideos  Год назад +3

      So sorry that image is wrong. It should be TPL.
      You should always use TPL as it has many benefits and it also threading. Sorry for the wrong image.
      Happy learning.

  • @davidmendizabal7508
    @davidmendizabal7508 2 года назад +1

    Great explanation men, rhankyou very much. I have the knowledge but your review of this subjects are a lot of help to keep fluent for the interviews.

  • @deepakgupta5733
    @deepakgupta5733 3 года назад +4

    Made my day sir🙏😊 to the point one-liners, that's what I was looking for. Many many thanks 👍💖

  • @phanirao2008
    @phanirao2008 2 года назад

    Really simple same time so effective covered

  • @aaronzheng519
    @aaronzheng519 3 года назад

    Thank you for this video!!!!!! You explain really well with examples. very helpful

    • @questpondvideos
      @questpondvideos  3 года назад

      Thanks. Do visit for whole course www.questpond.com/ordernow.php?forvideos=8months

  • @beelzaBob
    @beelzaBob 2 года назад +4

    Although the guy probably won't read this, the expression is "beat around the bush", not "hit around the bush". Of course it doesn't really matter, but the guy uses the expression a lot.

    • @questpondvideos
      @questpondvideos  2 года назад +10

      Sorry english is my second language. In Asia we say "Hitting around the bush". Hope video was technically helpful. Thanks for correcting.

  • @Itsmegamerwhite
    @Itsmegamerwhite 15 дней назад +2

    Sir, please provide the part 2 video link 🙏🏻

    • @questpondvideos
      @questpondvideos  14 дней назад

      Hello sir, C# Interview Q&A Part 1 to part 14 videos you can avail here - www.questpond.com/c-interview-questions-and-answers/cid69

  • @gauravdeore1890
    @gauravdeore1890 3 года назад

    Thank you so much sir !!!
    Such a valuable knowledge

  • @abdessamadjadid5347
    @abdessamadjadid5347 2 года назад

    priceless video, thank you very much

  • @yokeshm5861
    @yokeshm5861 2 года назад +1

    Hi sir....My question is when to use thread and when to use task?

  • @jacsonbates0608
    @jacsonbates0608 3 года назад

    Great video. Very well explained. Just a minor comment , I think it's "beat around the bush".

  • @komando005
    @komando005 Год назад

    Thanks for this great video boss ❤

  • @sudhid8765
    @sudhid8765 3 года назад

    Thank you so much sir. I loved the way u pushing the the topics into mind. Pls upload part-2 sir

    • @questpondvideos
      @questpondvideos  3 года назад

      Thanks. Do visit for the complete course www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62

  • @suryapandey5378
    @suryapandey5378 3 года назад

    I understood very well to u👍
    Thank u
    Im preparing for fresgers interview for c#,sql,jquery.

    • @questpondvideos
      @questpondvideos  3 года назад

      Thanks and do visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22

  • @umeshmehta9047
    @umeshmehta9047 3 года назад

    Thank you very much sir for your deep explanation.
    If there would be a button more than like button in you tube then I will definitely go for that.

    • @questpondvideos
      @questpondvideos  3 года назад

      Thanks and do visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22

  • @ShreyanshiTimes
    @ShreyanshiTimes Год назад

    good for refreshing csharp as a whole...nice

  • @shaikrizwan7376
    @shaikrizwan7376 9 месяцев назад

    Sir Thanks for the Video.. I could not see part -2 . Any one please

    • @questpondvideos
      @questpondvideos  9 месяцев назад

      Here you can get the video series of C# Interview Q&As - www.questpond.com/c-interview-questions-and-answers/cid69

  • @sumeetsonone4485
    @sumeetsonone4485 5 месяцев назад

    Thanks for sharing such a valuable information with us for free..
    Can you please let me know where is the part 2??

  • @maheshbhatchandavar
    @maheshbhatchandavar 3 года назад +1

    Perfect video Shiv🙏...Thank you.
    Where is the second part?

  • @faeez4722
    @faeez4722 3 года назад

    One of best Teacher

  • @RavinderKumar-wu8kv
    @RavinderKumar-wu8kv 6 месяцев назад

    I m sorry i juge you, but really you are fabulous in knowledge ❤

  • @bjstutorials308
    @bjstutorials308 2 года назад

    Excellent Sir..Kudos

  • @attrayeebanik7329
    @attrayeebanik7329 4 месяца назад

    Excellent content ! really helpful.

  • @mohanaPriya-wr1lf
    @mohanaPriya-wr1lf 2 года назад

    Thank you for the great video 👌

  • @GreystripeWarrior
    @GreystripeWarrior 2 года назад

    Great video! I learned a lot, thank you!

  • @ckkaushal9220
    @ckkaushal9220 3 года назад

    Thanks A lot Sir, your all videos are really very informative , crystal clear and the best on the net.

    • @questpondvideos
      @questpondvideos  3 года назад

      thanks for appreciation and do visit our website www.questpond.com for advanced lessons,

  • @Its_Hack
    @Its_Hack 2 года назад

    Thank you it was great memory refresh

  • @VijayaKumar-dz7il
    @VijayaKumar-dz7il 2 года назад +1

    Can you add the part II video?

    • @questpondvideos
      @questpondvideos  2 года назад

      C# interview Q&A Part 2 to Part 9 you can get from here - www.questpond.com/c-interview-questions-and-answers/cid69

  • @mursinabegum9358
    @mursinabegum9358 3 года назад

    Best explanation 👍🏻

  • @jacksonpv7133
    @jacksonpv7133 3 года назад +10

    Great work...Can we get some detailed interview Questions for Sql..

    • @orange_cat
      @orange_cat 3 года назад

      That is quite easy. Do an Internet search for "detailed interview Questions for SQL" using DuckDuckGo rather than Google.

    • @rickdeckard1075
      @rickdeckard1075 3 года назад

      this is actually even more useful in the respect that microsoft documentation is either a 404'd web page or an incomprehensible mash-up of version references

  • @himalayan699
    @himalayan699 3 года назад +5

    Please let me know where i can get full C# interview question series , this is just part 1 ?

    • @questpondvideos
      @questpondvideos  3 года назад +3

      You can get full C# interview question with MVC , Angular and Azure tutorial from www.questpond.com and chact with our representation. Also the website has all details as well.

  • @trijay
    @trijay 11 месяцев назад

    Nice videos, where is the part 2 of this video sir?

    • @questpondvideos
      @questpondvideos  11 месяцев назад +1

      C# Interview Q&A next part videos are available here - www.questpond.com/c-interview-questions-and-answers/cid69

  • @gabrielvelazquezrios7324
    @gabrielvelazquezrios7324 Год назад

    Thank you, this is really nice!

  • @vladimirbozhek6830
    @vladimirbozhek6830 3 года назад

    It's perfect. Thank you very much)

  • @avtarsashia4897
    @avtarsashia4897 2 года назад

    Thanks. It awsome content 👌

  • @ruchiecohen9037
    @ruchiecohen9037 2 года назад

    This was so so helpful thankyou!!!!

  • @ilyaboika73
    @ilyaboika73 Месяц назад +2

    sorry, you have an incorrect comparison of tasks and threads: there is no dependence that a thread is only about one core and a task is about multiple cores. Thread and task both can run on multiple cores, but the thread can be more directly controlled (you can create a new thread and choose the exact time to start it) and the task is an abstraction over the pool of threads.

  • @simonaiacoban7190
    @simonaiacoban7190 2 года назад

    This video is a treasure

  • @AbhishekSingh-eu6wl
    @AbhishekSingh-eu6wl 3 года назад

    Thank you for this video. please upload the second session.

    • @questpondvideos
      @questpondvideos  3 года назад

      Second part is part of subscription www.questpond.com/interview-questions---answers-tutorial/cid63

  • @chandankumardas7434
    @chandankumardas7434 2 года назад

    best explain..thank you

  • @AdriansArt
    @AdriansArt 8 месяцев назад

    Very helpful, thank you!

  • @khaykinalex
    @khaykinalex 9 месяцев назад

    Comment regarding Threads and TPL,
    According to Chat GPT (greatest source of truth), tasks do not have Processor Affinity by default.
    BUT, they can all be assigned.
    >

  • @islamahmedmohamed5147
    @islamahmedmohamed5147 2 года назад

    thank you so much, what a greet job

  • @HIFLY01
    @HIFLY01 3 года назад

    I like how the video was posted in January 2021 and the date modified for the machine language is September 2021. Good video tho

  • @swapnilsakhare9934
    @swapnilsakhare9934 3 года назад

    Hi sir first of all thanks for you efforts and guidance. Sir i shared this video on my facebook. and i am waiting foe the second part of this video. Also i will promise you soon i will give the subscription. Please reply

    • @questpondvideos
      @questpondvideos  3 года назад

      Thanks and Do email and visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22

  • @sujalhshah
    @sujalhshah 3 года назад

    Looking forward to second part

    • @questpondvideos
      @questpondvideos  3 года назад

      Next part of the series will be released soon, do visit www.questpond.com

  • @reshavsingh6158
    @reshavsingh6158 3 года назад

    Bro you are great 👍