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

preview_player
Показать описание
For more C# interview Q&A Video Course visit :-

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 details :-
📱 Mob. No. : +91-9967590707 / +91 7700975156 / +91-22-49786776

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

#CsharpInterviewQuestions #C#InterviewQuestionsforExperienced #InterviewQuestionsforC#
Рекомендации по теме
Комментарии
Автор

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

aricwilliamsdeveloper
Автор

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
Автор

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.

Dave-nvrv
Автор

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

tusharkantidas
Автор

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.

danb
Автор

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.

narendramylam
Автор

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!

Kobi
Автор

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

venkateshpillay
Автор

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

maitreyeekar
Автор

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

mrrickr
Автор

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.

esubshaik
Автор

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 😊

nikolaybilov
Автор

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

varshatavade
Автор

Thank you @questPond Shiv sir, very simplified explanation.

MaximusMotivatvation
Автор

I'm literally watching this at 2am and I dint even get to know when this video just completed. This is probably one of the best refresher videos for interview

sonikakumari
Автор

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

marcuspowers
Автор

This is how you teach with online visuals great work thank you.

mistert
Автор

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

tusharrasal
Автор

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

abcdeereijgfhd
Автор

This deserves lot of appreciation. Great content.

suyashyadav
welcome to shbcf.ru