Hi Sir. This question bank helped me a lot to clear more than 5 interviews where I was finding difficulty in clearing one interview, a great salute to you for helping in building someone's career. Will keep supporting you💗🙂
Hello rakesh, can you please share you interview experience. and how to get new job. at present i am working with dotnet technology only, but unable to take out preparation time. Can we form any group and discuss there.
This is a fantastic video and helped me quickly brush-up the concepts. I loved the delegated part. This was by far the simplest explanation of it I have heard of...👏
Thank you for your nice tutorial. I am finishing the first hour. For the moment I have two little notes. I think members of the interface do not have access specifiers and I think I have seen books saying that interfaces can also have property members and events. I also think that the main reason for boxing and unboxing was to achieve universal data type - object, which could be send as params to any class ctors and methods. Then generics came and send those to the unemployment department.
Thank you so much. very nice explanation with examples. it consolidated everything at single place. so no need to go other place. once again thank you so much.
@@interviewhappy Well, I am a software engineer doing job. I watched your video to clear OOP Concepts. Thank you for mind blowing content. Keep posting stuff like that.
IEnumerable Interface should be used for the IN Memory object Collection to fetch the data while IQuerable should be used when you are fetching the from the resources like DbContext , XML etc because if you want the collect the data on filter criteria then IQuerable useful in this case.
Happy sir.. thank you so much.. i watched your video and purchased an interview course on udemy for preparation and revision.. Finally got the offer.. Thank you so much .. Lots of love and respect.. Keep up the good work. ❤❤
It's very useful for most of the questions covered from the material. Nice explanation in videos. Happy you tube channel and questpond you tube channel is enough to crack the interview for 2 to 4 year experience level of dotnet developer. Mostly 80 % expected questions. But presenting the level we need to practice
About encapsulation: you could add an example of errornous direct assign of experience to a negative value and add checks to a setter to show why the property setter is needed. Trivial setter just slows the things.
2:34:17 I'm not sure if this is important but why did you initialize the delegate outside of the program class? Thank you you're the best C# interview teacher out there, I only watch yours!
becz deligates are meant to be used from outside classes. They work as a representative of things happening inside class.. So that anyone who wants to use them do not need to create instance of that class to use the delegate. instead they can directly call it and use it.
Hi Sir, Thankyou for the detailed class. But 1 correction - In C#, the default access specifier for class members (fields, methods, properties, etc.) is private. If no access modifier is specified, members are implicitly considered private.
Hi Sir, I have a question which was asked by an interviewer, what is the of the constructor in Abstract class.plz give me one example sir. and one more question is why do we need static fields/methods/constructors in application.what is the use of the that static thing.plz explain with example sir.
This video leaves me feeling quite discombobulated after listening to its definitions of the terms abstraction and encapsulation!! The video gives the defintion of abstraction as "Showing only required things". But that definition matches the Wikipedia definition for encapsulation, Wikipedia states encapsulation as being "the limiting of direct access to some of that data". I'm familiar with a very different definition of abstraction, which is the one you'll also find in the Webster dictionary, which is "disassociated from any specific instance".
Dear sir, can you make logical program series which should be contain 50 program based on String, Array, Collection...or if you have already please share link...i am automation Tester
Abstract classes should have Protected constructor right ? so when derived class gets instantiated it will invoke the abstract members,? Please clarify
nice video Sir, one question is there, in abstract class also we can declare method and use it in dervied class , eg. SetSalary() and SetProject() can be only declared in abstract class also, then why should we use interface? Am I missing something?
1:23:20 what is the need of finally block in try catch ? If we write the code what inside in the finally block after the catch block the code will excecute same as finally block so, what makes "finally" so important?
There are some scenarios where code written directly below a catch block might not execute as below: 1. If an exception is not handled within the catch block and is instead propagated, any code written after the catch block will not execute. 2. If a return statement is executed in the try or catch block, the control flow will exit the method, and the code following the catch block will not execute. 3. If the method exits due to an exception, and there is no higher-level exception handler, the code following the catch block will not execute. The finally block executes no matter what happens in the try or catch blocks, including exceptions, return statements, or method termination.
Q14 - why don't we just inherit a class and override the method instead here? Is it some kind of "safety feature" that prevents us from implementing the same method the same way in two separate classes?
I have a question about abstraction you said that client show only nessasary detail in real example i understand butt in programing client show anly view UI page soo we hum kis se hide kerty hain background detail
i jumped randomly into the video, at 10:35 and i already have an issue.... sorry, but since when do classes inherit interfaces? multiple inheritance works only between interfaces. one interface can inherit multiple interfaces. classes have the obligation of IMPLEMENTING interfaces. only thing you can do is mimic multiple inheritance is by using functionality implemented by other classes and exposing this through your instance, which actually is called composition. so the statement that you can inherit multiple interfaces in a class is incorrect sorry...but finding an error on the first thing i see makes me not want to listen to the rest of it
Hi sir, in abstraction examples i have doubt ( 18:06 ) like we can still access calculateHra() method and calculateBasicSalary() method. So how we can achieve abstraction here. Can you please explain. Because one of the interviewer asked me.
Hi Deepak, When you want any other developer can create the objects of your class but cannot inherit it. Static can be also used but then object creation is not possible.
I really need a mentor like you 'HAPPY JI'. Kindly accept my request. I will be grateful to you. One more request - can you please demonstrate on each language by creating a new fresh project. It will be helpful for us to understand on each module as how they interact with each other. And for architect level for whose year of experience is atleast 10years must have the knowledge to work from scratch so kindly request you to provide the inputs. It will be helpful for us in this output driven era. Thanks
Sir, Could you please clarify about delegates that..We can even pass the values by direct call of add method without delegate na.Then what is the actual use of that here..?
Hi Sir. This question bank helped me a lot to clear more than 5 interviews where I was finding difficulty in clearing one interview, a great salute to you for helping in building someone's career. Will keep supporting you💗🙂
Well done and Congrats Rakesh.... May you keep getting success in your career in future.
Hello rakesh, can you please share you interview experience. and how to get new job. at present i am working with dotnet technology only, but unable to take out preparation time. Can we form any group and discuss there.
Hi sir I cleared first round but I'm getting problem in second round like practical round if u guide about practical round plss it's humble request
@@kiranpyllayes definitely make a group
@@AbhaySingh-lf4oyi am also in. Let's connect Nd form a group
i'm preparing for interviews ...by watching your vedios sir... tqq so much these are very helpful..to growup
Thanks Jyothi and all the best for your career.
This is great Man. Very Nice explanation. Every one should go once at least once for quick revision. Salute.💛💛
Thanks Navin, Appreciate you liked it.
@@interviewhappyhow to contact with you?
Hi Happy,
Your videos(Angular,SQL,OOP,.Net Core) was very helpful to me to get the new position.
Thank You♥♥
Great... congrats man.... enjoy the moment. Happy is happy for you.
You are so amazing with this question. You teach this concept so easily that no can do that. I understand so many things from you. Thank you sir
. 😀
Thanks for appreciating my friend your words are very kind and means a lot to me. Thank you much @rihamhossain9662
This is a fantastic video and helped me quickly brush-up the concepts. I loved the delegated part. This was by far the simplest explanation of it I have heard of...👏
Great to hear and Thanks @catherine
Really best explanation for each every question. Thank you very much your videos. I'm always thankful you 🙏
Thanks Hareesh. All the best if you are preparing for interviews.
one of the best ever interview guide for any discipline I came across. Hats off to you sir.
Glad it was helpful @mohamedsilmy5294
Wooooow excellent explaination ... i encourage you to continue ..make us a design pattern video I couldn't find any good one
Thanks, sure
❤
thanks for your effort that you put togethor all imp questions in one video
Perfect...it clears all of my doubt...hats off...keep it up !!
Thank you for your nice tutorial. I am finishing the first hour.
For the moment I have two little notes. I think members of the interface do not have access specifiers and I think I have seen books saying that interfaces can also have property members and events.
I also think that the main reason for boxing and unboxing was to achieve universal data type - object, which could be send as params to any class ctors and methods. Then generics came and send those to the unemployment department.
Amazing work. Probably the best c# video to date!
Wow, thanks!
Thank you so much. very nice explanation with examples. it consolidated everything at single place. so no need to go other place. once again thank you so much.
Thanks Vikram... I appreciate you liked it..
Now I am able to clear the interview after seeing your video.thanks
You are most welcome. All the Best Gopi
Just want to say, amazing
Thanks Babar. Glad you liked it. All the best for your career.
@@interviewhappy Well, I am a software engineer doing job. I watched your video to clear OOP Concepts. Thank you for mind blowing content. Keep posting stuff like that.
IEnumerable Interface should be used for the IN Memory object Collection to fetch the data while IQuerable should be used when you are fetching the from the resources like DbContext , XML etc because if you want the collect the data on filter criteria then IQuerable useful in this case.
Happy sir.. thank you so much.. i watched your video and purchased an interview course on udemy for preparation and revision..
Finally got the offer..
Thank you so much ..
Lots of love and respect..
Keep up the good work.
❤❤
Congratulations to my friend.
This achievement is a result of your hard effort and never-give-up attitude.
Superb interview series of question with explanation.
It's very useful for most of the questions covered from the material. Nice explanation in videos. Happy you tube channel and questpond you tube channel is enough to crack the interview for 2 to 4 year experience level of dotnet developer. Mostly 80 % expected questions. But presenting the level we need to practice
About encapsulation: you could add an example of errornous direct assign of experience to a negative value and add checks to a setter to show why the property setter is needed. Trivial setter just slows the things.
Yes that is one good example
No one can explain like this 👍
Thanks
Interface can contain not only methods but also properties, events and indexers with signature only.
Excellent Bro. Well-articulated and examples . Thanks it helps
Glad it was helpful!
Very nice explanation sir, thank you for bringing this it will be very helpful during the c# interview.
Thanks Sreeni... Sounds great this helped you
Hi sir ..Can you provide questions for 5+ years experience vb.net and asap.net. Thanks
@@jamunadevi7635 I love vb.net. worked in it a lot. But now a days its not in demand. But soon i will try to make some content for it.
Very good video. It includes everything for revision purpose. Kindly make a video on .Net Core also. Thanks.
Thanks Anupam, I already post a video on .NET Core also. Please check videos in my channel.
You are an amazing teacher. Hats Off.
Thanks Touseef and all the best for your career man.
I’m learning so much from your videos.
That's great, thanks Maranta
thanks man . you helped me so much thank you again and again
welcome
Hi,Nice video.. you explain everything in detail.
Thank you so much 🙂
Great
No words to explain, appreciate the effort keepup the good work
Thanks Raj
2:34:17 I'm not sure if this is important but why did you initialize the delegate outside of the program class? Thank you you're the best C# interview teacher out there, I only watch yours!
becz deligates are meant to be used from outside classes. They work as a representative of things happening inside class.. So that anyone who wants to use them do not need to create instance of that class to use the delegate. instead they can directly call it and use it.
Very nice explanation..thank you so much sir🙏
wc Meenu and all the best for your career.
such great effort bro.. really appreciate it!! :) those examples were really helpful in relating to use case...! this was awesome man!!
Thanks Vipul, wish you all the best for your career.
Awesome video, very informative!
Thanks Bryan. All the best for your career.
@@interviewhappy Thanks!
Thanks a ton for your effort. You are helping the techies to land their dream jobs.
Thanks Raj. Yes my goal is to help the candidates in their interview process.
2.29.23 Delegate example , really SUPER
Thanks Archu
You are like... A textbook... 😍
Thanks man
hello sir plzz provide web api concept video and how it is created and also provide fresher level interview video. i like ur video and explanation.
Thanks Ashvini. I poted a web api interview question series also. In starting questions, I have explained why web api is needed.
Thank you sir for providing such a valuable resource
Thanks and welcome Eshwar Moorthy
Hi Sir, Thankyou for the detailed class. But 1 correction - In C#, the default access specifier for class members (fields, methods, properties, etc.) is private. If no access modifier is specified, members are implicitly considered private.
Yes, you are right
good job male, thanks!
welcome Ashraf. All the best.
welcome Ashraf. All the best.
even after 2x it seems slow! Great Content Though👍
Thanks Rajat. I will try to increase speed from my side.
Excellent video. Thank you sir.
Glad it was helpful!
Good FAQs
Thank you for your nice tutorial. An interface can have properties as well.
Thank you so much!!!!! It is very useful
welcome Alice
Thank you for explaining. Can overloading achieve by different return type
No Sourav, different return type, same parameters will lead to error.
Hi Sir, I have a question which was asked by an interviewer, what is the of the constructor in Abstract class.plz give me one example sir. and one more question is why do we need static fields/methods/constructors in application.what is the use of the that static thing.plz explain with example sir.
I think feilds can be defined in interface as per my memory.. correct me if jts wrong
Thank you sir for providing with this valuable resource)
This video leaves me feeling quite discombobulated after listening to its definitions of the terms abstraction and encapsulation!!
The video gives the defintion of abstraction as "Showing only required things". But that definition matches the Wikipedia definition for encapsulation, Wikipedia states encapsulation as being "the limiting of direct access to some of that data".
I'm familiar with a very different definition of abstraction, which is the one you'll also find in the Webster dictionary, which is "disassociated from any specific instance".
thanks a lot sir u r super
Thanks Amit. All the best for your career.
great video! keep up with the great work :)
Sir Question 22 . Generics class not required object creation ?
01:05:00 Boxing & Unboxing literally confused. Why should we used this in our OOP concepts? And is object keyword here?
Thank you so much your videos sir please make one video on upcasting and downcasting
13:23 where is baseclass 2 in case of multilevel inheritance? might be a mistake there
if i pass my interview tomorrow i will donate you 50$ haha , thank you , really great job
You will definitely pass Theo. My best wishes are with you.
@@interviewhappy I got the job today, you owe me fifty dollars
Thanks a lot! This is really helpful
Masterpiece 👍💖✨⭐✌️👏👌
Thanks Deepak
Thank you so much for great explanation!
Your most welcome for appreciating @noranora847
thanks Man, you are a gem :)
Thanks Abhishek
why is throw ex used then? in which case it is beneficial ?
In some 5% cases, we do not need complete stack info then we can use this.
@@interviewhappy Thank you for the information sir. Your videos are exponentially increasing my knowledge.
Dear sir, can you make logical program series which should be contain 50 program based on String, Array, Collection...or if you have already please share link...i am automation Tester
Sir excellent explanation sir..
But video quality little bit low pls sir
Can you explain Interface and Abstract class C# 8 version?
interface can have method bodies from C# 8. That is the biggest difference. Rest I will explain in some future videos.
At 2:29:22 if we want to do multiply also then we should again create object?
Very nice video Sir but can you make a roadmap to become .net developer for fresher means step by step how to prepare to become .net developer
Thanks Pranjali, sure
Can you please try to video on above questions incase anything missed
Sure Bala
Sir if the object of an child class is created, will the constructor of its parent class from which its inherited be triggered?
Good question totoro.
Answer is YES.
Both parent and child constructors will be called and parent will always be called before child.
Woww, that's awesome, thank you sir
Hi @interviewHappy sir. If possible, can you please create one video for explicit calling concepts in multiple inheritance
Sure will try to do it soon @vigneshvk4940
Abstract classes should have Protected constructor right ? so when derived class gets instantiated it will invoke the abstract members,?
Please clarify
17. What are Access Specifiers What is the default access modifier in a Class?
What is the Other CODE?
nice video Sir, one question is there, in abstract class also we can declare method and use it in dervied class , eg. SetSalary() and SetProject() can be only declared in abstract class also, then why should we use interface? Am I missing something?
Because later if you want to do multiple inheritance than it is only possible via interfaces not via abstract classes.
@@interviewhappy yes sir, got it now
1:23:20 what is the need of finally block in try catch ? If we write the code what inside in the finally block after the catch block the code will excecute same as finally block so, what makes "finally" so important?
There are some scenarios where code written directly below a catch block might not execute as below:
1. If an exception is not handled within the catch block and is instead propagated, any code written after the catch block will not execute.
2. If a return statement is executed in the try or catch block, the control flow will exit the method, and the code following the catch block will not execute.
3. If the method exits due to an exception, and there is no higher-level exception handler, the code following the catch block will not execute.
The finally block executes no matter what happens in the try or catch blocks, including exceptions, return statements, or method termination.
I think Comment is not enough... But from my side... Take a bow man.....
I think thanks is not enough. Wish you all the very very best for your career bro.
Please make videos about Entity Framework interview questions
I think I already posted some of them
Hi sir, can you please provide the interview questions on azure developer
Right now I don't have but soon I will create on Azure developer also.
Q14 - why don't we just inherit a class and override the method instead here? Is it some kind of "safety feature" that prevents us from implementing the same method the same way in two separate classes?
very good vedios Sir Keep it up
Thanks Yogesh
I have a question about abstraction you said that client show only nessasary detail in real example i understand butt in programing client show anly view UI page soo we hum kis se hide kerty hain background detail
C# an abstract class can have multiple interfaces just like any other class
In abraction explanation, 19:00 the remaining two methods should be private I guess. CalculateBasicSalary, calculateHRA.
Thanks Sano, I will check it
@@interviewhappy thanks for your reply sir😍
i jumped randomly into the video, at 10:35 and i already have an issue....
sorry, but since when do classes inherit interfaces? multiple inheritance works only between interfaces. one interface can inherit multiple interfaces. classes have the obligation of IMPLEMENTING interfaces. only thing you can do is mimic multiple inheritance is by using functionality implemented by other classes and exposing this through your instance, which actually is called composition.
so the statement that you can inherit multiple interfaces in a class is incorrect
sorry...but finding an error on the first thing i see makes me not want to listen to the rest of it
You sounds more accurate. But composition is not a very familiar term in C# and what I shared is more popular. Anyways, thanks for correcting me.
Thank you sir
Welcome Rasheed
Hello Sir, please provide the design pattern video link.
Could you do a video about design patterns and IQs on design pattrens.
Because ur all tutorials are superb and u elaborate each from very basic and understandable 😌😊
Sure Sreeni.. I will in future
Please do a video on solid principles and design patterns
Sure Prasad.. soon i will do
@@interviewhappy yes pls
Hi sir, in abstraction examples i have doubt ( 18:06 ) like we can still access calculateHra() method and calculateBasicSalary() method. So how we can achieve abstraction here.
Can you please explain.
Because one of the interviewer asked me.
Those methods should be PRIVATE. I hade the same question come into my head
Why we can not create instance of interface or abstract class
Why interfaces function having only declaration why its not hving body??
Thank you
Hi Happy, Which context
we define class as sealed?
Hi Deepak, When you want any other developer can create the objects of your class but cannot inherit it.
Static can be also used but then object creation is not possible.
superb
Thanks Balwant
can you make video on solid principal in c# i didn't found better video
Thank you so much sir.
Most welcome @ prabhatverma955
What is Difference Between Method Overriding and Inheritance
Inheritance is another concept of OOPS and method overriding is the part of Polymorphism concept.
I really need a mentor like you 'HAPPY JI'. Kindly accept my request. I will be grateful to you. One more request - can you please demonstrate on each language by creating a new fresh project. It will be helpful for us to understand on each module as how they interact with each other. And for architect level for whose year of experience is atleast 10years must have the knowledge to work from scratch so kindly request you to provide the inputs. It will be helpful for us in this output driven era. Thanks
thankyou🥰🥰
Your Welcome Ahmed Ebrahem
Sir, Could you please clarify about delegates that..We can even pass the values by direct call of add method without delegate na.Then what is the actual use of that here..?