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.
Object-oriented programming (OOP) has been around for decades. As the original object-oriented language, C# is a mainstay in the...Show More
Content
1.
Introduction to Object-Oriented Programming
3 Lessons
Get familiar with OOP concepts in C#, using a practical vending machine project.
2.
Classes and Objects
20 Lessons
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
8 Lessons
Work through the principles of data hiding through encapsulation, practical challenges, and implementations.
4.
Inheritance
10 Lessons
Enhance your skills in inheritance, syntax, base keyword, types, advantages, and practical challenges.
5.
Polymorphism
11 Lessons
Deepen your knowledge of polymorphism in C# through inheritance, method overriding, and practical challenges.
6.
Abstract Classes and Interfaces
9 Lessons
Focus on abstraction concepts in C# using abstract classes and interfaces for flexible, modular design.
7.
Composition, Aggregation and Association
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.
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me. I own around 10 and the price is worth it for the content quality. EducativeInc came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources