YUNOVA · C# · Module 12: Advanced C#
Reflection and attributes
Reflection and attributes
Key points
- Reflection reads types, methods and properties at runtime.
- Attributes attach metadata to code elements.
- GetCustomAttributes reads attributes, often in frameworks and serializers.