BrandGhost
Here's How C# Attributes Make Reflection a Breeze!

Here's How C# Attributes Make Reflection a Breeze!

Finding types in reflection can mean iterating through assemblies and looking for whatever matches your naming convention or some other heuristic. But what if we could find C# types using reflection in an easier way? What if we could use that same approach to find other members of those types as well? In this video, I'll explain how we can use attributes in C# combined with reflection in order to find types and members easily.
An error has occurred. This application may no longer respond until reloaded. Reload