Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Advanced C# and Classes
·
Module 1
Deep Dive into Class and Record Design
1
Classes vs. Structs: Reference and Value Semantics
Distinguish between reference and value semantics by comparing classes and structs.
2
Implementing Immutable DTOs with Records and Init-Only Setters
Implement immutable data transfer objects using records and init-only setters.
3
Sealed Classes: Preventing Inheritance and Understanding Their Implications
Apply sealed classes to prevent inheritance and articulate their design and performance implications.
4
Operator Overloading for Custom Types
Overload operators to create expressive and intuitive domain-specific types.
5
Custom Conversions: Operators for Type Conversion
Implement custom implicit and explicit conversion operators between related types.
6
Composition vs. Inheritance
Choose between composition over inheritance to create flexible and maintainable designs.
7
Choosing the Right Abstraction: Abstract Class, Interface, or Record
Select the appropriate tool (abstract class, interface, or record) for a given API design scenario.
Next module isn't ready yet,
Back to course
Previous module
Next module