Advanced C#: Object-Oriented Programming
1h 46mAdvanced2023-10-10
Authors

Joe Marini
Senior Developer Advocate at Google, Developer
Course details
There's an old saying that goes "in .NET, everything is an object," and if that's the case, then knowing how to write great object-oriented C# code is an absolute must. In this course, Joe Marini takes you beyond the basics of writing classes and introduces some of the more advanced C# OOP concepts that make programs easier to read and maintain, address common real-world programming scenarios, and improve overall code performance. Join Joe in this course to gain the knowledge and confidence to use all of the object-oriented programming features of C# in the most effective way for your projects.
Skills covered
C#AdvancedProgramming LanguagesMicrosoftSoftware Development
Concepts
0. Introduction
- 01 - Next-level C# OOP
- 02 - Getting set up
1. C# Object-Oriented Basics
- 03 - Defining classes
- 04 - Properties
- 05 - Inheritance
- 06 - Access modifiers
- 07 - Anonymous types
2. Class Operations
- 08 - Using object initializers
- 09 - Read-only members
- 10 - Init-only properties
- 11 - Required properties
- 12 - Challenge - Build an employee class
- 13 - Solution - Build an employee class
3. Static Classes and Methods
- 14 - Static members
- 15 - Static classes
- 16 - Static constructors
- 17 - Challenge - Add static members to employee
- 18 - Solution - Add static members to employee
4. Abstract and Sealed Classes
- 19 - Overview of abstract classes
- 20 - Defining an abstract class
- 21 - Abstract methods and properties
- 22 - Sealed classes
- 23 - Challenge - Abstract employee class
- 24 - Solution - Abstract employee class
Conclusion
- 25 - Next steps