C# Interview Questions and Answers | Important Csharp Interview Questions | C# Questions
For more C# interview Q&A Video Course visit :-
www.questpond.com/c-interview...
Complete .NET Video list - www.questpond.com/totalimages...
Stay updated with more such videos, subscribe / questpondvideos
Following are the questions covered in this C# Q&A Series :-
Part 1-Questions on Stack, Heap, Boxing, Unboxing, Array, ArrayList, Generics, Threading.
00:00 Introduction.
02:34 Question 1 :- Explain difference between .NET and C# ?
06: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 ?
Part 2 - Questions on Delegates, Event & Delegates vs Events.
Part 3 - Questions OOP, Abstraction, Encapsulation, Inheritance, Virtual, Overriding and overloading.
Part 4 - Questions Polymorphism, Static vs Dynamic polymorphism and operator overloading.
Part 5 - Tricky Questions around Abstract classes and Interfaces.
Part 6 - Answering the most asked Question "Abstract classes vs Interface".
Part 7 - Questions around constructors & in parent child which constructor fires first.
Part 8 - Questions around Shadowing, Sealed, Nested classes and partial classes.
Part 9 - Questions Around SOLID principles , Dependency injection (DI) and IOC
Part 10 - Explain & Differentiate Composition, Aggregation and Association in C#.
Part 11 - Crack questions on Stack, Heap, Boxing, Unboxing, Value & reference types
Part 12 - What is Garbage collector, Managed vs UnManaged code, Memory Leaks.
Also see our other Step by Step video series below :-
For more such videos subscribe / questpondvideos
OOPS Interview Questions : • OOPS Interview Questio...
JavaScript Interview questions: • JavaScript Interview Q...
Learn SQL Server Step by Step tinyurl.com/ja4zmwu
Learn Angular tutorial step by step tinyurl.com/ycd9j895
ASP.NET MVC Core Interview Questions with answers:- • ASP.NET MVC Interview ...
C# tutorial for beginners(4 hrs):- • C# Tutorial for Beginn...
Learn Azure Step by Step:- • Azure Tutorial for Beg...
Azure AZ-900 fundamentals certification :- • AZ 900 Certification |...
AZ- 204 certification Azure:- • Azure 204 Certificatio...
Learn MVC 5 step by step in 16 hours:- • Learn ASP.NET MVC 5 ( ...
Learn Design Pattern Step by Step goo.gl/eJdn0m
Learn MSBI Step by Step in 32 hours:- goo.gl/TTpFZN
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...
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!!!
KZread: / questpondvideos
Twitter: / questpond
Instagram : / questpond
Facebook : / questpond
For more details contact questpond@questpond.com OR call +919967590707-9619842789.
#CsharpInterviewQuestions #C#InterviewQuestionsforExperienced #InterviewQuestionsforC#
Пікірлер: 340
ASP.NET, C# Job Market : kzread.info/dash/bejne/emd-p7l6oJaYXdY.html 20+ Garbage Collection (GC) Interview Questions : kzread.info/dash/bejne/hJua17ipYs--eaQ.html Software Architecture Interview Questions : kzread.info/dash/bejne/c6iIycWbfLLXfbA.html 25+ OOPS Interview Questions : kzread.info/dash/bejne/p21t2aOocs2qprQ.html 20+ SQL Server Interview Questions : kzread.info/dash/bejne/hXmYo6hxnbaxg5c.html 10+ Power BI Interview Questions : kzread.info/dash/bejne/daOuxZuQfqW4pJc.html 20 MSBI Interview Questions : kzread.info/dash/bejne/gKuT1ap-e9G1hag.html SQL Server Joins : kzread.info/dash/bejne/fYiqu6p-ntfcnps.html SQL Step by Step - kzread.info/dash/bejne/p3ugyLJyn5rRnbw.html Angular Step by Step Tutorial for Beginners : kzread.info/dash/bejne/X22KxblwfaWqo5s.html 25 Angular Interview Questions : kzread.info/dash/bejne/X56Z0dt9eqfZg7A.html 25 Important ASP.NET Interview Questions : kzread.info/dash/bejne/ooyhr8ameripYMo.html 35 Important JavaScript Interview Questions : kzread.info/dash/bejne/jJZoxrKiZ6anfrg.html 20 MySQL Interview Questions : kzread.info/dash/bejne/a5yazKVmctO_YpM.html 5 MSBI Interview Questions : kzread.info/dash/bejne/Z3lsk5eaiKTdibQ.html 20 PHP Interview Questions : kzread.info/dash/bejne/Y5aksLWynrjYnJs.html
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!!!
@caseyspaulding
6 ай бұрын
Agree!
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
Жыл бұрын
@@naveenchebrolu4010 Hope you have received PDF copy.
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...
This deserves lot of appreciation. Great content.
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!
This guy is the god of lecturer. Thx very much!
You explaied so well that I don't have to review it again to remember... Excellent👏
Great explanation. To the point. Thank you so much for making it so simple.
Awesome Shiv Sir! I have been watching your videos for the past 5 years. They are great! Your explanation is just awesome!
@reeteshjain9925
2 жыл бұрын
Pp
Good stuff. He makes it such that his delivery and explanations are clear and engaging.
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.
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
Golden video that saves so much time! Thank you!
Good explain Questions & Answer
the best teacher ever i have seen.
Thank you @questPond Shiv sir, very simplified explanation.
You are like a superb compiler who can compile the knowledge into every type of learners brain.😎
@questpondvideos
3 жыл бұрын
Thanks do see our other interview questions and learning videos from www.questpond.com/
Thank you so much sir. Your explanation is the best. I could understand everything you taught so well!
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! 👏
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.
Shiv sir, you are awesome.. Your explanation is too good..
The interview questions are helpful as it explains the concepts so well using examples and to the point.
priceless video, thank you very much
Superb video sir. You explained everything with examples. This helps to understand easily.
Sir, you are great.... excellent video you've made
Awesome examination sir ,thank you so much for great video
You are an excellent teacher!!! Thank you so much for everything!
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 😊
Thank you for discussing the important points for interviewing at the end, very important to remember
Exemplary video! including code snippets and demonstrations is very helpful!
Thank u sir, what a great explanation with examples 👍
Thank you so much sir !!! Such a valuable knowledge
your explanation is excellent and easy 😊 thank you so much for this video
One of best Teacher
Really simple same time so effective covered
Outstanding content, congratulations for the work.
Excellent Sir..Kudos
Great video! I learned a lot, thank you!
Outstanding explanation! Thank you very much.
@questpondvideos
3 жыл бұрын
Thanks. Do visit www.questpond.com
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.🙏🏻
Really Good Content.. Thank for the sharing with us
It's perfect. Thank you very much)
good for refreshing csharp as a whole...nice
This video is priceless!
Thank you for explaining well 👏
Made my day sir🙏😊 to the point one-liners, that's what I was looking for. Many many thanks 👍💖
Thanks a lot, Your videos verry useful me crack the Interview Thanks again
best explain..thank you
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
9 ай бұрын
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!
Thank you, this is really nice!
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.
@suniljadhav589
Жыл бұрын
👍
Impressive tips
Thank you soooo much for this!
Amazing video!
This was so so helpful thankyou!!!!
Excellent! Thank you!
@questpondvideos
3 жыл бұрын
Thanks and do visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22
Thank you it was great memory refresh
Great video! Thanks.
Superb quality of explanation...❤️
@questpondvideos
3 жыл бұрын
Thanks do visit to Learn .net course www.questpond.com/netc-fundamentals-net-collections-generics/cid22
An excellent explanation. Thank you!
@questpondvideos
3 жыл бұрын
Do visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22
thank you so much, what a greet job
Very helpful, thank you!
Great video. Very well explained. Just a minor comment , I think it's "beat around the bush".
Best explanation 👍🏻
This video is a treasure
Thank you for the great video 👌
great explanation thanks
Amazing content
Well explained
Excellent
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 :)
Perfect video Shiv🙏...Thank you. Where is the second part?
Thank you for this video!!!!!! You explain really well with examples. very helpful
@questpondvideos
3 жыл бұрын
Thanks. Do visit for whole course www.questpond.com/ordernow.php?forvideos=8months
Wow Great Explanation Sir🙏🙏 Thank you so much 😌
@questpondvideos
3 жыл бұрын
Thanks and do visit www.questpond.com
Great job 👏
Great Explanation.
good informative video...
Great work sir
Really great
Veri nice, time saving
Great video
Thanks for this great video boss ❤
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
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
Awesome sir..
Awesome vid! Btw... Parallely isnt a word... I think 'concurrently' is a better choice when talking about threading.
Superb
v v nice
Looking forward to second part
@questpondvideos
3 жыл бұрын
Next part of the series will be released soon, do visit www.questpond.com
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
Жыл бұрын
Kudos to you!!🙌
@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?
Awesome
Thanks. It awsome content 👌
Thanks 🙏🏼
Thank you it was awesome
Bro you are great 👍
Thank you🙏
Wow I enjoyed the way you explained shiv pls upload part2 soon thanks.
@questpondvideos
3 жыл бұрын
Thank You, do visit www.questpond.com
Amazing
Best video