Computer Programming
1,033 learners
Object-Oriented Programming in C#
Embark on your journey of Object-Oriented Programming in C# with this course. Learn about classes, objects, methods, attributes, encapsulation, and inheritance, while also touching upon method overriding. Program space missions as Cosmo, defining classes and objects for various celestial entities.
C#
See path
7 lessons
35 practices
2 hours
Badge for Computer Science Fundamentals,
Computer Science Fundamentals
Lessons and practices
Starting with Main Function
Rename the Entry Point Class
Fix the Code Compilation
Basics of C# Program Entry
Write Your First Main Function
Creating and Using Objects
Default Attribute Values in Classes
Debugging Spaceship Program
Filling in Missing Attribute Code
Create a Planet Class
Launching Methods in C#
Using Parameters with Launch Method
Fix the Launch Method
Write Your Own Class Method
Using Constructors to Launch
Setting Default Values in Constructor
Enhance Spaceship with Speed Attribute
Fix the Constructor Bug
Completing Spaceship Constructor Code
Writing Constructors for Initialization
Understand and Observe Encapsulation
Modifying Attributes with Encapsulation
Fix Encapsulation and Access Properties
Encapsulation in C# Properties
Mastering Encapsulation with Properties
Understanding Inheritance in C#
Fix the Inheritance Constructor
Understanding Protected in Inheritance
Complete the Inheritance Code
Creating Class Hierarchies in C#
Method Overriding in Action
Combining Base and Derived Methods
Fix Method Overriding Bug
Override and Implement Methods
Mastering Method Overriding
Meet Cosmo:
The smartest AI guide in the universe
Our built-in AI guide and tutor, Cosmo, prompts you with challenges that are built just for you and unblocks you when you get stuck.
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal