Objects
5 lessons in the C# course.
Full C# course · Search this topic · Programming
- MethodsWrite reusable methods with parameters and return types.
- Classes and ObjectsDefine classes and create objects with constructors.
- PropertiesExpose fields safely with auto-properties and accessors.
- InheritanceShare behavior with base classes and overrides.
- InterfacesDefine contracts that classes implement explicitly.