Top 100 C#/ .NET/ Web API/ SQL Interview Questions
Вставка
- Опубліковано 8 лип 2024
- 1. Full .NET Interview Course (with PDF Book)
C# / ASP.NET Core / MVC / API - Top 500 Interview Questions
Coupon code DOTNETOFFERJUN2024 applied in below URL- 80% Off - Limited Time Offer
www.udemy.com/course/csharp-o...
Don't worry if the course is not helping you, Udemy has a 30 days Free Refund Policy.
2. Quick Revision Book (PDF format)
Top 500 .NET Interview Questions - OOPS/ C#/ ASP .NET/ MVC/ SQL /.NET Core /Web API
imojo.in/interviewhappy
50% Off - Limited Time Offer applied on above link.
Don't worry if the book is not helping you, I will return 100% of your money within 7 days of purchase. Just mail me at anuragrawat123@gmail.com.
My best wishes are with you.
This video contains top 100 questions asked in .NET interviews.
00:00 - Introduction
01:04 - Q1. What are the advantages of OOPS?
02:47 - Q2. What are the limitations of OOPS?
03:32 - Q3. What are the different types of Inheritance?
06:45 - Q4. How to prevent a class from being Inherited?
07:36 - Q5. What is Polymorphism and what are its types?
08:12 - Q6. What is Method Overloading? In how many ways a method can be overloaded?
10:58 - Q7. What is the difference between Overloading and Overriding?
13:05 - Q8. What is the difference between an Abstract class and an Interface (atleast 4)?
15:23 - Q9. When to use Interface and when Abstract class?
18:59 - Q10. Why to even create Interfaces?
20:40 - Q11. Do Interface can have a Constructor?
21:05 - Q12. Can you create an instance of an Abstract class or an Interface?
21:29 - Q13. What is the difference between “out” and “ref” parameters?
25:27 - Q14. What is the purpose of “params” keyword?
26:28 - Q15. What are Access Specifiers? What is the default access modifier in a class?
29:11 - Q16. How to implement Exception Handling in C#?
30:16 - Q17. Can we execute multiple Catch blocks?
30:41 - Q18. What is a Finally block and give an example when to use it?
31:15 - Q19. Can we have only “Try” block without “Catch” block?
32:06 - Q20. What is the difference between “throw ex” and “throw”?
33:32 - Q21. What are the Loop types in C#?
35:20 - Q22. What is the difference between “continue” and “break” statement?
36:33 - Q23. What is the difference between Array and ArrayList (atleast 2)?
37:52 - Q24. What is the difference between Arraylist and Hashtable?
38:26 - Q25. What is “this” keyword in C#? When to use it?
40:06 - Q26. What is the purpose of “using” keyword in C#?
42:38 - Q27. What is the difference between “is” and “as” operators?
44:31 - Q28. What is the difference between “Readonly” and “Constant” variables (atleast 3)?
46:34 - Q29. What is Boxing and Unboxing?
47:50 - Q30. What is the difference between “String” and “StringBuilder”? When to use what?
50:16 - Q31. What are Nullable types?
51:21 - Q32. What are the important components of .NET framework? What are their roles?
54:22 - Q33. What is an Assembly? What are the different types of assembly in .NET?
56:41 - Q34. What is GAC?
57:04 - Q35. What is Garbage Collection(GC)?
58:44 - Q36. Can we force Garbage Collector to run?
59:26 - Q37. What is the difference between Process and Thread?
01:00:22 - Q38. Explain Multithreading?
01:01:40 - Q39. What is Reflection?
01:05:26 - Q40. What is MVC (Model View Controller)? Explain MVC Life cycle.
01:06:46 - Q41. What are the advantages of MVC over Web Forms (atleast 3)?
01:11:44 - Q42. What are the different return types of a controller Action method?
01:14:45 - Q43. What are Filters and their types in MVC?
01:17:23 - Q44. What is Authentication and Authorization in ASP.NET MVC?
01:19:10 - Q45. What are the types of Authentication in ASP.NET MVC?
01:21:50 - Q46. What is Output Caching in MVC? How to implement it?
01:23:45 - Q47. What is the difference between ViewData, ViewBag & TempData?
01:25:03 - Q48. How can we pass the data from controller to view in MVC?
01:25:22 - Q49. What is Partial View?
01:26:07 - Q50. What are Areas in MVC?
01:26:48 - Q51. How Validation works in MVC?
01:27:39 - Q52. Explain the concept of MVC Scaffolding?
01:28:38 - Q53. What is Bundling and Minification in MVC?
01:29:58 - Q54. How to implement Security in web applications in MVC?
01:35:44 - Q55. What are the events in Page Life Cycle? In which event are the controls fully loaded?
01:37:49 - Q56. What is the difference between Server.Transfer() and Response.Redirect()?
01:40:44 - Q57. Where the ViewState is stored after the page postback?
01:41:06 - Q58. What are the different types of Caching?
01:42:38 - Q59. What are the different Session state management options available in asp.net?
01 :43:50 - Q60. What are the main components of ADO.NET?
Maximum limit has reached for the description word limit, so more questions cannot be listed here.
I apologies for the inconvenience.
This is really one of the best video for interview preparation, which covers all the aspects which is expected a .NET Technical Interview.. Hats off to the efforts for explaining the concepts more crisp and clear. Please continue your journey in creating such valuable videos.
Thanks Danesh. Never got such appreciation even from my managers in past :). Deeply elated by it.
Bruh hats off it’s a developer Power Nap superbbbbbbbbbb❤
Please create java interview questions series
Is it use for 2 years of experience?
@@interviewhappyhi want to connect to you.
Hi Happy. Spent a week to watch all your video for .NET interview. I got 2 offers in 2 interviews, a 100% successful rate. Thanks a lot for your help. Recommend for all the developers.
Hii....can you do suggest me any other videos have you watched and please share your interview experience aswell....
Hey having experience or as fresher it helped you
Thank you for answering ‘ why to use’ rather than just the concept. Helpful course . I also bought 500 questions that was also useful!
29:00 - By Default access modifier of Class is 'Internal'. & 'Private' for Data Member n Member Function of Class. Internal is the default if no access modifier is specified.
Yes correct
I almost wrote a comment about this, but you were quicker :) actually 10 months quicker
Thank you so much Sir for the valuable Interview questions. After struggling for 5 months, I finally secured a job. There were no questions which were asked that I felt was out of your video. To the point, crisp, and valuable. I recommend to everyone just make this guy popular because he's working so hard for us. Blessed.
really your work is amazing
Excellent video. I can see the hard work. The way document is prepared and each topic is explained. Kudos to you sir.
Thank you Happy sir! I have purchased 500 questions from Udemy on 8th April and gone thru the video for 1 time and 2 times pdf and 12th was interview and job confirmed on 13th. This videos is more than enough for anyone. I am joining after 4yrs career break. You made me happy. I explained Solid principles with examples for 2mins. You made everyone Happy. I also purchased Angular videos just before interview but couldn’t complete it. Thank you so much. Great efforts. 👍
I got the Job, i am only prepared this question s only..... Thank u Very Much Excellent Video....❤️
Congrats Amani... That's what my main purpose is. All the best for your career.
@@interviewhappy Thank you Very Much But now i want Angular and React js please Suggest On that also....🥰
@@amanik2196 I’m also preparing for job. Can you tell what other videos you followed for cracking interviews? This video is only for C#. Can you suggest other videos for other technologies like sql, api etc
Really true
@@reshmaofficial9994 hey reshma you got the job?
A very complete .Net interview preparation I have ever watch on UA-cam. Thanks so much.
Thanks Me Myself. Hope you will achieve what you are desiring.
Super Super helpful. Selected questions are popular in the interviews and your answers are concise, on point and ez to understand. Thank you so much.
Thanks Kimi. Loved your comment and wish you all the best for your interviews.
Thanks Sir for sharing these type of interview questions, last saturday i attended a interview in Cognizant and they asked Almost all the questions which are available in this video, even I refered your SQL interview questions, there also I got multiple question, like Triggers, Index, Difference between SP, Function and many more.
😊😊😊🙏🙏
Great Dheeraj, I am glad to hear that it is helping candidates. Might be interviewers are also watching this video for asking questions 😃
@@interviewhappy Yes Sir. 😊😊😀Seems they are also referring your videos 😀.
you applied as a fresher or experienced??
There is one questions in video - What is the default access specifier of a class? The correct answer is internal.
Means if we don't declare any access specifier then it is the default internal 🤔
Exactly
How you made this mistake
@@Shubham-ic2rl everyone do mistakes ✍️
Tell me trucate can be rollback or not
Please post 500 interview questions and answers in .Net. Your explanation is too good
Nice explanation.. Can you share all 500 questions which in description below. So everyone benefits. Thanks again
I m very impressed with this video. Used very easy language with simple diagram. Good explanation. Keep it up with new videos
Thanks Jalpesh. Appreciate you liked it.
Mashaa Allah Excellent effort
Unique video
This channel mission is to help developers in getting BETTER JOBS. If my content helped you in achieving this, then do COMMENT on the video. This will MOTIVATE me to help others.
Thanks for making an amazing video.. It has covered all the questions..with Best Example.. Great work..✨👍🏻
Thanks Pooja.. I wish you all the best for your interview preparation.
Thank you so much. This is what i need. Amazing collection of questions with great explanation.thanks again😊
wc Balaji
annot put into words the amount of appreciation i hold for this videos' teacher ...god really bless u sir ..just once suggestion sir ..nowadays ppl are asking implement based questions more like how did u consume web api even for 2 yrs exp.kindly make a video like that too sir
Excellent... Its really helpful and iam searching to learn this important contents but i did'nt get any full package like this... But when i watch this video... my mind was fullfilled with the lots of hope and really satisfied by this. Thank you so much Sir
Thanks Anooja, glad you liked it. I wish you all the best for your career.
This is so wonderful! Thank you so much for this effort, this is probably the most complete video guide for C# I've ever seen, extremely helpful and well explained!
Thank you Benderman .
Great work 🔥🔥 thank you so much
It's Really Helpful for me to Creak the interview with Wipro , TCS , Cognizant and Capgemini
Thanks Pooja. I want to help all interview takers so that they can answer questions confidently.
Thank you very much bro... More informative and most helpful... This is the booster for the interview🤝
Thanks Nagaraju... Best of luck for your interview preparation
Wow. This is a great material for the .NET interview prep. Appreciate your efforts for explaining each and every concepts in a short and concise way.
Glad it was helpful! @leetcodewithalishasharma
Very nice video with crystal clear explanation..I am preparing this video questions only..Hope I will get selected.
You are happy and makes other happy as well from ur knowledge and efforts.
when we preapre from your vedio and crack interview and got raised in salery we become also happy hehhe
bro you are the Greatest one. Each statement you made is of great value 🙏... couldn't miss a single word
Sir, salute. Your videos are simply superb and yesterday purchased it. When I read ur tutorial I'm getting hope i will clear the interview. Thanks!!!
Thanks Pandi, yes sure. Cover important concepts first and try practice if time allows.
All the best for your career and interviews.
@@interviewhappy thank u sir!
Amazing content! Your efforts are clearly visible in the video. Keep up the good work! Thanks for helping all of us aspirants who are preparing for interview 😊😊
Thanks Sudeshna for the kind words. Wish you all the best for your career.
Thanks you so much Sir😊
Great content sir, very helpful for interviews. Just one correction, "internal" is default access modifier for class and "private" is default access modifier for class members.
ya you are correct i also here for comment same mistake
The never give up advice is too OP. Almost 15 interviews and still didn't land a job, was almost on the verge of quitting but this video was of great help and the small advice in the end was a booster. Thankyou
Keep going...
And when you reach your destination, you will feel proud of your never-give-up attitude and all the struggles you overcame.
All these rejections will be very small for you then.
Please make a video on scenario-based questions like if load time is more what to do like that. Thank you for great explanations.
I really happy and appreciate you 💞 I cracked 6 interview out of 10 in Dot net technology.. it's because of you Sir ❤ ..thank u so much sir ..🎉
Wow congratulations.. Thanks for sharing and appreciating my work .
All the very best my friend . @vinaychauhan5486
In SQL, add few more as below I faced.
1.pivot table
2.dens rank
3.how to schedule a job in sql server
4.database optimize techniques
5.how to insert 1 lacks records. What are the scenario's you will follow. Can you please make video on these questions.. Thanks in advance
Which company they asked
One of the best video i have seen explained each answer very clearly, thank you so much for your hard work ❤❤❤
Thanks Shiva. All the best for your career.
Thanks for making an amazing video
This is one of the best interview preparation video. Thank you so much for making this video
wc Sandhya and all the best for your career.
Really Helping video...It's Wonderful ...Thank You Sir
Welcome Sarwar. Appreciate your desire for learning.
C# 8.0 had introduced a feature called "default interface methods," which allows interfaces to contain method implementations. This feature enables you to add new methods to an interface without breaking existing implementations.
good for beginner, please add more on properties , method attributes , async programming , await , delegates , TPL from C# . thank you
Very insightful.Such an effort you have put sir for creating every slide.I greatly appreciate your efforts. Thank you
You are very welcome and many thanks @nikhil
Best study content I have ever seen.Thanks much..
Welcome Suriya!
And this is one of the best comments I have seen.
Many Thanks for this.
And best of luck for your interviews.
Extremely useful video. Thanks for uploading it!
Thanks Nadarajan. Wish you all the best for your career.
At 2:05:50, its NOT Content-Type header, its Accept header. Accept header is used by HTTP clients to tell the server which type of content they expect/prefer as response.
your class is superb
Exllent video sir
Nice explanation. Interface can contains declaration of methods, properties and events.
Thanks Bhagwat for your comment
Thank you soooooo muchhhh for informative questions and answer you taught smoothly nice and got understanding all things easily please make more videos for helping ppl ...thanks alot dear sir
Thanks for your words Yaslin. I will keep posting things which help candidates in clearing interviews.
Thanks🙏 sir, it's very useful for interview preparstion
Thanks Dileep. Appreciate you liked it.
Neat, Clean and in the simplest form, thanks bro! it is very helpful in the interview preparation
Thanks a lot Mazhar.... all the best for your interviews.
Very excellent notes and explanation. Keep rocking.. Do more videos.
Many Thanks
Very nice collection of interview question and very well explained. Thanks for creating this video. Keep doing the good work.
Thanks Satinder
Awesome presentation seriously our life is very happy if we go with the stuff great work sir keep it up and any plans for Azure!
Thanks Vasu. Yes Azure, Angular, React are in my plan.
This video is really great, thanks for such amazing contents.
Thank you so much Ryan.
its really helpful for me..👏thank you so much sir.😊
Awesome video to quick help for interview preparation at last moment
Thanks Manisha, glad you liked it
Thanks sir for this collection in one video.🙏🙏🙏
wc Saurabh. All the best for your career.
Thank you soooo much . Very helpful for preparing for an interview
Most welcome! Sruthi
It's really really very helpful ..... ThankQ soo muchh sir for this wonderful video
Thanks Akanksha... I wish you all the best if you are preparing for videos.
I have been searching for this kind of explained video from long..it is truly very very helpful video as it covers all the important questions that is being asked actually...thanks a lot sir for making this video.. I m going to save it for me for my upcoming interviews.. btw it not only covers the interview qsn but also it clearing some of my concepts.. thanks a lot for making such video.. also request u to make a video on dot net core.
Thanks Bharti for your words. These kind of words motivate us to create more and more valuable content. I am glad you liked it. I wish you all the best for your career.
This is really super sir, please keep creating videos. These are helpful
Thanks Nikhila. I wish you all the best for you interview preparation.
Bro, wonderful video, thank you for creating this.
Thanks bro. Appreciate you liked it.
Sir Jee... All in One bana diya Aap neee.... Thanks
Amazing Brother! Keep up the good work! You are getting people jobs! Hope I get that one tomorrow too lol 😀
That is my objective. Learn but with goal. I wish you all the best buddy. Give your best.
Its awsome content you created sir. Thanks a lot
Thanks a lot Avtar. Best of luck for your interview preparation.
Amazing video, very helpful.
Thanks Vinod.
Thanks for creating such a very helpful video.
Thanks Ankit and all the best if you are preparing for interviews.
very clean and neatly explained.
Thanks Anil for your nice response
very very good sir... 100% useful for the interview... thank you sir
Most welcome Nikhil
Awesome!!Thank you so much.
Glad you like it
Definately buying your udemy course, you should build it outside udemy so they dont steal any commisions. Dude! You are singlehandlely getting us to pass interviews for 50k-150k jobsm you rock
Thanks Martin my friend
Awesome video sir, thanks for all your efforts 👍🙂.. expecting more content from you. Thanks
Thanks and all the best for your career
best job ever , thank you
Thank you so much.. this really motivates content creators to create more.
Good basic questions for dot net. Really worth
Now we don't have to watch different videos for every topic
Hi
Very nice explanation on each technology.
Request to make videos on ASP MVC, Design Pattern and more advanced topics targeting 10 years of experience people.
Thanks 🙏🙏
Thanks Dhiraj, sure I am starting from the basics and soon will go to the advance level.
Very very nice questions sir, please keep posting on other important topics also in. Net. Thank You
Thanks Sreeni. Appreciate you liked it
Sir really this is the best way of explaining questions for interview it will help a lot for the students thanks a lot sir
@knowledge_Tech_World Thanks for your kind words, happy learning :)
Effort was gr8 , only concern is Audio issue...
Thank you so much. The questions are very relevant and in a recent interview I was asked many from the above list. Whoever has landed up here, definitely go though the list thoroughly.
Glad you liked it. My goal is to give accurate content for .NET interviews. Seems its working. Do you also create content?
Thank you so much for this video 🙂🙏
Thanks Sujila. I wish you all the best in your career.
Thanks a lot sir. Am preparing for interview it is very helpfull.You are explaining very clearly and GREAT
wc Vishnu. I wish you all the best for your interviews.
@@interviewhappy Thankyou Sir
Default access modifier for class is 'internal' and for class members it's 'private'.
Thanks a lot .. It has covered all my doubts.. Every time when there is Interview I only watch this video.. Best contain for Dot Net Developer Interview.. Thank you so much..😊✨
It's my pleasure
This really sums it, up props to you sir
Thanks Milos.. wish you all the best for your career.
thank you i got selection as senior developer
What are design patterns in c#? Could you please ping the video link if you know which will help me to understand the concept clearly?
Default Access Modifier for class is Internal .
Thank you sir, really helpful !!
wc Masquerade, wish you all the best
Thank you so much❤
I prepared these questions for my interview and I did very well. Fingures crossed for the results. Thank you so much.
Good luck!
All interview question and answer covering in this video. This video is help for us which is do preparation for interview. Thank you so much sir🙏. Only one problem here we can not seen proper example in mobile screen.
Yes, examples might not be properly visible in mobile screens. I will take of this from next time.
@@interviewhappy In Laptop Screen, All are properly visible.
Very good explanation.
Thanks Jinosh, My focus is to give answer which will clear the basics and should be short and concise.
This is the best best video. Thanks a lot🙏
Thanks Pooja. Best of luck for your interviews.
it is best video for .net interview.believe me
Thanks Avipsha. All the best for your interviews.
Thank you for this video.. It's very helpful for me..and ur way to describe is very good..🙏
Thanks and all the best.
Thanks. Very thorough coverage.
It's good to know you liked it @ Abdessamad