Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Software Development Tools No-Code Development
Business
Entrepreneurship Communication Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certifications Network & Security Hardware Operating Systems & Servers Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Paid Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement & Gardening Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition & Diet Yoga Mental Health Martial Arts & Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Learning Teacher Training Test Prep Other Teaching & Academics
Web Development JavaScript React Angular CSS Node.Js PHP HTML5 Vue JS
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Amazon AWS Cisco CCNA CompTIA Security+ Microsoft AZ-900
Microsoft Power BI SQL Tableau Data Modeling Business Analysis Business Intelligence MySQL Qlik Sense Data Analysis
Unity Unreal Engine Game Development Fundamentals C# 3D Game Development C++ Unreal Engine Blueprints 2D Game Development Mobile Game Development
Google Flutter iOS Development Android Development Swift React Native Dart (programming language) Kotlin Mobile App Development SwiftUI
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting Canva InDesign Character Design Procreate Digital Illustration App
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Life Purpose Mindfulness Sound Therapy Meditation Coaching
Business Fundamentals Entrepreneurship Fundamentals Freelancing Business Strategy Startup Business Plan Online Business Blogging Leadership
Digital Marketing Social Media Marketing Marketing Strategy Internet Marketing Google Analytics Copywriting Email Marketing Startup YouTube Marketing
2022-06-12T23:38:02Z

DevelopmentWeb DevelopmentC#

C# Interview Questions with Answers. ( Csharp Interviews)

C# Interview Questions with Answers. Crack you next Csharp interview or .NET Interview with confidence.
Rating: 4.7 out of 54.7 (417 ratings)
2,933 students
Created by Shivprasad Koirala
Last updated 4/2022
English
English [Auto]

What you'll learn

  • Understanding what kind of Fundamental questions are asked in C# and .NET interviews and how clear the same.
  • Answering fundamental C# questions around .NET core vs .NET framework vs .NET 5.0 , IL code , JIT,CTS,CLS,CLR, Managed , Unmanaged code and Garbage collector.
  • How to confidently answer questions around stack , heap , value types, reference types ,boxing , unboxing , implicit casting and explicit casting.
  • Threading and collections are favorites in C# interviews. A complete section dedicated to answer questions like array,arraylist,array vs arraylist and generics.
  • No C# interview is complete with out a question on delegates and events. A full section dedicated to delegates and events and how to answer their differences
  • Dedicated OOP Interview section covering Classes , Objects , Polymorphism , Inheritance , virtual methods,overloading ,overriding ,abstract class vs interfaces
  • How to handle tricky questions around Shadowing, Sealed classes, Nested classes and partial classes.
  • How to answer questions around SOLID (SRP,OCP,LSP,ISP and Dependency Inversion) , DI(Dependency injection), IOC(Inversion of Control).

Requirements

  • Should have knowledge of C#. Remember this is a interview preparation revision course and not short cut to easy jobs in C#.

Description

If you are looking to clear C# and .NET Interviews then you have landed at the right course. You can be a hero in your project/company , you must have handled complex scenarios.

But failing to answer simple .NET , C# Fundamental question during interview can lead to a very negative impact during interviews.

This course focuses on Fundamental questions around C# and .NET... Happy job hunting.

Below is the list of C# interview questions covered in the Series.


Question 1 :- Explain difference between .NET and C# ?
Question 2 :- .NET Framework vs .NET Core vs .NET 5.0
Question 3 :- What is IL ( Intermediate Language) Code ?
Question 4 :- What is the use of JIT ( Just in time compiler) ?
Question 5 :- Is it possible to view IL code ?
Question 6 :- What is the benefit of compiling in to IL code ?
Question 7 :- Does .NET support multiple programming languages ?
Question 8 :- What is CLR ( Common Language Runtime) ?
Question 9 :- What is managed and unmanaged code ?
Question 10 :- Explain the importance of Garbage collector ?
Question 11 :- Can garbage collector claim unmanaged objects ?
Question 12 :- What is the importance of CTS ?
Question 13 :- Explain CLS ?
Question 14 :- Difference between Stack vs Heap ?
Question 15 :- What are Value types & Reference types?
Question 16 :- Explain boxing and unboxing ?
Question 17 :- What is consequence of boxing and unboxing ?
Question 18 :- Explain casting, implicit casting and explicit casting ?
Question 19 :- What can happen during explicit casting ?
Question 20 :- Differentiate between Array and ArrayList ?
Question 21 :- Whose performance is better array or arraylist ?
Question 22 :- What are generic collections ?
Question 23 :- What are threads (Multithreading)?
Question 24 :- How are threads different from TPL ?
Question 25 :- How do we handle exceptions in C#(try/catch)?
Question 26 :- What is the need of finally?
Question 27 :- Why do we need the out keyword ?
Question 28 :- What is the need of Delegates ?
Question 29 :- What are events ?
Question 30 :- What's the difference between Abstract class and interface ?
Question 31  :- What is a delegate and How to create a delegate ?
Question 32  :- Where have you used delegates ?
Question 33  :- What is a Multicast delegates ?
Question 34  :- What is a Event ?
Question 35  :- How to create a event ?
Question 36  :- Delegate vs Events.
Question 37 :- Why do we need OOP ?
Question 38 :- What are the important pillars of OOPs ?
Question 39 :- What is a class and object ?
Question 40 :- Abstraction vs Encapsulation?
Question 41 :- Explain Inheritance ?
Question 42 :- Explain virtual keyword ?
Question 43 :- What is overriding ?
Question 44 :- Explain overloading ?
Question 45 :- 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 Class & 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 ?
Question 70 :- What is Shadowing?
Question 71 :- Explain method hiding?
Question 72 :- Shadowing vs Overriding ?
Question 73 :- When do we need Shadowing ?
Question 74 :- Explain Sealed Classes ?
Question 75 :- Can we create instance of sealed classes ?
Question 76 :- What are nested classes and when to use them ?
Question 77 :- Can Nested class access outer class variables ?
Question 78 :- Can we have public, protected access modifiers in nested class ?
Question 79 :- Explain Partial classes ?
Question 80 :- In What scenarios do we use partial classes ?
Question 81 :- What is SOLID ?
Question 82 :- What is the full form of SOLID ?
Question 83 :- What is the goal of SOLID ?
Question 84 :- Explain SRP with A example ?
Question 85 :- What is the benefit of SRP ?
Question 86 :- Explain OCP with a example ?
Question 87 :- What is the  benefit of OCP ?
Question 88 :- Can you explain LISKOV Principle and it's violation?
Question 89 :- How can we fix LISKOV Problem ?
Question 90 :- Explain Interface Segregation Principle ?
Question 91 :- Is there a connection between LISKOV and ISP ?
Question 92 :- Define dependency inversion ?
Question 93 :- What is higher level module and lower level module ?
Question 94 :- How does dependency inversion benefit, show with an example ?
Question 95 :- Will only Dependency inversion solve decoupling problem ?
Question 96 :- Why do developers  move object creation outside high lever module ?
Question 97 :- Explain IOC ( Inversion of Control) ?
Question 98 :- Explain Dependency Injection with an example ?
Question 99 :- Is SOLID, IOC and DI design pattern or Principle?
Question 100 :- Is only SOLID Enough for good code/ architecture ?


Who this course is for:

  • C# .NET Developers who are looking for a job change and good prospects.
  • C# .NET Developers who want to do last minute revision before going to interview.

Instructor

Shivprasad Koirala
We love recording Step by Step tutorials
Shivprasad Koirala
  • 4.5 Instructor Rating
  • 8,450 Reviews
  • 72,699 Students
  • 16 Courses

My name is Shivprasad Koirala, We love teaching and learning, We started the QuestPond website 15 years back with the one single goal of creating quality step by step IT programming related lessons.

We saw many lessons online, either they are done too fast or too slow or are too complicated.

The main goal of Questpond is to create Step by Step lessons on C#, ASP.NET , Design  patterns , SQL and so on. As years moved on i added other step by step lessons like Angular , Sharepoint , MSBI, Azure and so on.

Top companies choose Udemy Business to build in-demand career skills.
NasdaqVolkswagenBoxNetAppEventbrite
  • Udemy Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Investors
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Accessibility statement
Udemy
© 2022 Udemy, Inc.