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!!!
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 ?
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.
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...
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.
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!
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
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.
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 😊
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
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!
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 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 :)
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.🙏🏻
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?
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.
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.
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
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.
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.
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. >
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
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
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!!!
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 ?
@@naveenchebrolu4010 Hope you have received PDF copy.
where i find 31 to 66 question?
@@gomathikannan9880 Rest of the questions video you can avail from here - www.questpond.com/c-interview-questions-and-answers/cid69
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.
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...
Awesome Shiv Sir! I have been watching your videos for the past 5 years. They are great! Your explanation is just awesome!
Pp
You are like a superb compiler who can compile the knowledge into every type of learners brain.😎
Thanks do see our other interview questions and learning videos from www.questpond.com/
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.
👍
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.
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!
This deserves lot of appreciation. Great content.
You explaied so well that I don't have to review it again to remember... Excellent👏
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
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.
Kudos to you!!🙌
If I understand it correctly, isn't the reference itself on the stack, but the value it's referencing to, is on the heap?
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 😊
You are a Genius Teacher Sir. You are such a help to all. Gurubhyonamaha 🙏.
Thank you @questPond Shiv sir, very simplified explanation.
Good stuff. He makes it such that his delivery and explanations are clear and engaging.
Great explanation. To the point. Thank you so much for making it so simple.
Superb video sir. You explained everything with examples. This helps to understand easily.
Superb quality of explanation...❤️
Thanks do visit to Learn .net course www.questpond.com/netc-fundamentals-net-collections-generics/cid22
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
Golden video that saves so much time! Thank you!
Thank you for discussing the important points for interviewing at the end, very important to remember
your explanation is excellent and easy 😊 thank you so much for this video
Thank you so much sir. Your explanation is the best. I could understand everything you taught so well!
Shiv sir, you are awesome.. Your explanation is too good..
the best teacher ever i have seen.
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
Sir, I am rejoining as a developer after a gap of 10 years.. your video has boosted my confidence multi fold. Thanks a ton ..
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!
The interview questions are helpful as it explains the concepts so well using examples and to the point.
Good explain Questions & Answer
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! 👏
thanks so much i am very satisfied how you explained thread and tasks
Thank for the appreciation :)
This appears as a question from the technical round.
Thank you so much for this because I got the job offer.
Congratulations on your job offer.
Wow I enjoyed the way you explained shiv pls upload part2 soon thanks.
Thank You, do visit www.questpond.com
Really awesome! thank you ❤
Welcome :)
Exemplary video! including code snippets and demonstrations is very helpful!
Awesome vid!
Btw... Parallely isnt a word... I think 'concurrently' is a better choice when talking about threading.
Wow Great Explanation Sir🙏🙏
Thank you so much 😌
Thanks and do visit www.questpond.com
very nice video on "shisharp" :D, thanks.
no its "SHE SHARP" :-) Happy learning.
Thank you for explaining well 👏
Sir, you are great.... excellent video you've made
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 :)
You are an excellent teacher!!! Thank you so much for everything!
Thank u sir, what a great explanation with examples 👍
Outstanding content, congratulations for the work.
Really Good Content.. Thank for the sharing with us
Thanks a lot, Your videos verry useful me crack the Interview Thanks again
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.🙏🏻
Outstanding explanation! Thank you very much.
Thanks. Do visit www.questpond.com
Awesome examination sir ,thank you so much for great video
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?
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.
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.
Made my day sir🙏😊 to the point one-liners, that's what I was looking for. Many many thanks 👍💖
Really simple same time so effective covered
Thank you for this video!!!!!! You explain really well with examples. very helpful
Thanks. Do visit for whole course www.questpond.com/ordernow.php?forvideos=8months
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.
Sorry english is my second language. In Asia we say "Hitting around the bush". Hope video was technically helpful. Thanks for correcting.
Sir, please provide the part 2 video link 🙏🏻
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
Thank you so much sir !!!
Such a valuable knowledge
priceless video, thank you very much
Hi sir....My question is when to use thread and when to use task?
Great video. Very well explained. Just a minor comment , I think it's "beat around the bush".
Thanks for this great video boss ❤
Thank you so much sir. I loved the way u pushing the the topics into mind. Pls upload part-2 sir
Thanks. Do visit for the complete course www.questpond.com/c-step-by-step-with-interview-questions---answers-series/cid62
I understood very well to u👍
Thank u
Im preparing for fresgers interview for c#,sql,jquery.
Thanks and do visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22
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.
Thanks and do visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22
good for refreshing csharp as a whole...nice
Sir Thanks for the Video.. I could not see part -2 . Any one please
Here you can get the video series of C# Interview Q&As - www.questpond.com/c-interview-questions-and-answers/cid69
Thanks for sharing such a valuable information with us for free..
Can you please let me know where is the part 2??
Perfect video Shiv🙏...Thank you.
Where is the second part?
One of best Teacher
I m sorry i juge you, but really you are fabulous in knowledge ❤
Excellent Sir..Kudos
Excellent content ! really helpful.
Thank you for the great video 👌
Great video! I learned a lot, thank you!
Thanks A lot Sir, your all videos are really very informative , crystal clear and the best on the net.
thanks for appreciation and do visit our website www.questpond.com for advanced lessons,
Thank you it was great memory refresh
Can you add the part II video?
C# interview Q&A Part 2 to Part 9 you can get from here - www.questpond.com/c-interview-questions-and-answers/cid69
Best explanation 👍🏻
Great work...Can we get some detailed interview Questions for Sql..
That is quite easy. Do an Internet search for "detailed interview Questions for SQL" using DuckDuckGo rather than Google.
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
Please let me know where i can get full C# interview question series , this is just part 1 ?
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.
Nice videos, where is the part 2 of this video sir?
C# Interview Q&A next part videos are available here - www.questpond.com/c-interview-questions-and-answers/cid69
Thank you, this is really nice!
It's perfect. Thank you very much)
Thanks. It awsome content 👌
This was so so helpful thankyou!!!!
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.
Thats what i said.
This video is a treasure
Thank you for this video. please upload the second session.
Second part is part of subscription www.questpond.com/interview-questions---answers-tutorial/cid63
best explain..thank you
Very helpful, thank you!
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.
>
thank you so much, what a greet job
I like how the video was posted in January 2021 and the date modified for the machine language is September 2021. Good video tho
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
Thanks and Do email and visit www.questpond.com/netc-fundamentals-net-collections-generics/cid22
Looking forward to second part
Next part of the series will be released soon, do visit www.questpond.com
Bro you are great 👍