Free
CourseLearn C#: Classes, Objects, Interfaces, and Inheritance
Explore C# subclasses, classes, superclasses, and more in this introduction to object-oriented programming with C#.
This course includes
This course includes
Skill level
BeginnerTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary8 hoursProjects
5Prerequisites
1 courseWe suggest you complete the following courses before you get started with Learn C#: Classes, Objects, Interfaces, and Inheritance:- Learn C#: Arrays and Loops
About this course
Continue your C# learning journey with Learn C#: Classes, Objects, Interfaces, and Inheritance. Define your own custom types using classes and objects. Organize, secure, and simplify your code with interfaces and inheritance.
Skills you'll gain
Define new classes and methods
Use
static
in your classesBuild interfaces
Override superclasses
Syllabus
5 lessons • 5 projects • 5 quizzesCertificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Projects in this course
- practice Project
The Object of Your Affection
Use your newly minted knowledge of objects and classes to build out profile functionality for a new dating app! - practice Project
Stellar Lifecycle Simulator
Practice using abstraction in C# by creating a Star class that models different stages of a star's lifecycle. - practice Project
Bibliographical Inheritance
Develop a media archiving system for a library using inheritance in C#.
Meet the creator of the course

Jace van Auken
Curriculum Developer at CodecademyEarn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Learn C#: Classes, Objects, Interfaces, and Inheritance course ratings and reviews
177 ratings
- 5 stars
- 4 stars
- 3 stars
- 2 stars
- 1 star
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn C#: Classes, Objects, Interfaces, and Inheritance today!
Looking for something else?
Related resources
- Article
Python Inheritance Explained: Types and Use Cases
Learn what Python inheritance is and how it enables code reuse. Explore different types of inheritance, such as single, multiple, and hybrid. Understand the `super()` function and real-world applications of inheritance in Python. - Article
Understanding Polymorphism in Python (With Examples)
Learn how to implement polymorphism in Python with practical examples and applications. Master this essential OOP concept to write more flexible, reusable code for your projects. - Article
Why Object-Oriented Programming?
Why has object-oriented programming become a major programming paradigm?
Related courses and paths
- Course
Learn Object-Oriented Programming (OOP) with C++
In this course, we will discuss the four basic principles of object-oriented programming and see how we can implement and use them in C++.With CertificateIntermediate10 hours - Free course
Learn Java: Inheritance and Polymorphism
Learn how to go further with classes by using inheritance and polymorphism.Beginner Friendly2 hours - Free course
Learn Java: Classes, Methods, Inheritance, and Polymorphism
Take a deeper look into Java classes and methods and learn the basics of encapsulation.Beginner Friendly4 hours
Browse more topics
- C#583,651 learners enrolled
- Computer science6,383,000 learners enrolled
- Code foundations7,915,505 learners enrolled
- Web development5,306,337 learners enrolled
- Data science4,848,926 learners enrolled
- Python3,912,405 learners enrolled
- For business3,704,568 learners enrolled
- JavaScript3,019,448 learners enrolled
- Data analytics2,793,039 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.