-
Course
- Core Tech
C# Extension Methods
One of the most powerful and underused features of C#: extension methods. Master them to cut duplicate code and add consistency across your projects. This course teaches all you need to improve your .NET Core and .NET Framework apps with extensions.
What you'll learn
Extension methods are a key feature of C# - they boost productivity, increase the readability of your code, and make it easy to implement standards across your projects. In this course, C# Extension Methods, you will learn all you need to know about extension methods in .NET Framework and .NET Core. First, you will learn the basics of extension methods: how to use them, how to write them, and how the tooling in Visual Studio and VS Code helps you to work with them. Then, you will discover the danger areas and the best practices for building your own extension methods. Finally, you will explore how to package and publish your own extension method library. By the end of this course, you will have a complete understanding of how to get value from this powerful feature.
Table of contents
- Why You Need to Master Extension Methods | 3m 46s
- Demo: Using Extension Methods | 3m 37s
- Understanding Extension Methods | 2m 31s
- Demo: Writing Extension Methods | 5m 19s
- Demo: Extending .NET's Configuration Library | 4m 7s
- Knowing What You Can and Can't Do with Extension Methods | 2m 30s
- Demo: The Limitations of Extension Methods | 5m 12s
- Module Summary | 1m 59s
About the author
Elton is an independent consultant specializing in systems integration with the Microsoft stack. He is a Microsoft MVP, blogger, and practicing Technical Architect.
More Courses by Elton