AI-powered learning
Save this course
Learn Object-Oriented Programming in C#
Gain insights into OOP with C#. Delve into practical coding examples and exercises, exploring OOP concepts through a real-world vending machine project to understand and apply them effectively.
4.6
68 Lessons
9h
Updated 2 months ago
Join 2.9 million developers at
Join 2.9 million developers at
Learning Roadmap
1.
Introduction to Object-Oriented Programming
Introduction to Object-Oriented Programming
Get familiar with OOP concepts in C#, using a practical vending machine project.
2.
Classes and Objects
Classes and Objects
Unpack the core of class creation, member access, encapsulation, methods, and constructors in C#.
Introduction to Objects and ClassesDeclaration and ImplementationAccessing the Class MembersAccess ModifiersFieldsMethodsStatic and Non-Static MethodsThe 'this' Reference VariableGetters, Setters and PropertiesConstructorsCalling a Constructor from Another ConstructorQuizChallenge 1: Square Numbers and Return their SumSolution Review: Square Numbers and Return their SumChallenge 2: Calling a Constructor from a ConstructorSolution Review: Calling a Constructor from a ConstructorChallenge 3: Analyzing the Performance of StudentsSolution Review: Calculate the Student's Total MarksChallenge 4: Implement a Calculator ClassSolution Review: Implement a Calculator Class
3.
Data Hiding
Data Hiding
8 Lessons
8 Lessons
Work through the principles of data hiding through encapsulation, practical challenges, and implementations.
4.
Inheritance
Inheritance
10 Lessons
10 Lessons
Enhance your skills in inheritance, syntax, base keyword, types, advantages, and practical challenges.
5.
Polymorphism
Polymorphism
11 Lessons
11 Lessons
Deepen your knowledge of polymorphism in C# through inheritance, method overriding, and practical challenges.
6.
Abstract Classes and Interfaces
Abstract Classes and Interfaces
9 Lessons
9 Lessons
Focus on abstraction concepts in C# using abstract classes and interfaces for flexible, modular design.
7.
Composition, Aggregation and Association
Composition, Aggregation and Association
6 Lessons
6 Lessons
Practice using composition, aggregation, and association in class relationships through a console-based project.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
Object-oriented programming (OOP) has been around for decades. As the original object-oriented language, C# is a mainstay in the world of computer programming.
All the concepts of object-oriented programming that C# developers love to have in their arsenal are explained in detail along with relevant coding examples and exercises in this course.
This course is unique in its nature as it follows a project-based learning approach. Throughout the course, a real-world example of vending machine is followed to help the learners develop a firm understanding of the stated OOP concepts.
The learners will not only be able to play around with the project, they’ll also be able to see all the concepts in action in this project.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies

