-
Course
- Core Tech
Using Reflection in a C# Application: Best Practices
In this course you’ll learn when reflection is useful and how to use it in .NET.
What you'll learn
Using reflection does not have to be difficult. In this course, Using Reflection in a C# Application: Best Practices, you’ll learn how to use reflection in C#. First, you’ll explore which use cases reflection can be useful. Next, you’ll discover how to use reflection to inspect and manipulate classes and objects at runtime. Finally, you’ll learn how to apply reflection when working with generics. When you’re finished with this course, you’ll have in-depth knowledge on using reflection in C#.
Table of contents
- Version Check | 15s
- Coming Up | 1m 32s
- Course Prerequisites | 30s
- Frameworks and Tooling | 1m 23s
- Defining Reflection | 4m 37s
- Reflection Use Cases and Considerations | 2m 24s
- Demo - Introducing the Demo Application | 1m 37s
- Demo - Inspecting a Type | 7m 58s
- Demo - Getting Info About a Type | 4m 49s
- Inspecting Specialized Forms of MethodInfo | 2m 7s
- Early and Late Binding | 2m 45s
- Demo - Controlling the Way Reflection Searches with BindingFlags | 2m 23s
- Summary | 2m 9s
About the author
Kevin Dockx is a freelance solution architect (mobile/web), author & consultant, living in Antwerp (Belgium).
More Courses by Kevin