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.
Course info
Level
Beginner
Updated
Oct 1, 2019
Duration
1h 27m
Table of contents
Description
Course info
Level
Beginner
Updated
Oct 1, 2019
Duration
1h 27m
Description

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.

About the author
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 from the author
Serverless Programming with Fn Project
Beginner
1h 36m
May 28, 2019
More courses by Elton Stoneman
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
[Autogenerated] Hey, how you doing? My name's Elton on. This is C Sharp Extension methods. I'm a Microsoft M v P. And I've been writing C sharp code. This is the first release of DOT net back in 2002. I've always found that extension methods are one of the most powerful features of C sharp the people don't use. This course will teach you all you need to get productive with extension methods so you can remove code duplication reduced delivery time. Implement standards on improved the quality on maintain ability of your applications. You'll start by learning the basics of extension methods. How to use them, how to write them on how the tooling in visual studio on V s code helps you to work with them. Then you'll learn the danger areas on the best practices for building your own extension methods, and I'll give you some guidelines that apply to whatever type of project you're working on. Um, lastly, you'll see how it's a package and publish your own extension method library with solid documentation to make it easy for developers in your organization to discover and reuse. Common code extension methods are a C sharp language feature, which work across all versions of dot Net on my demos, will use dot net core on dot net framework. APS. You'll see some really useful extensions that you can put to work yourself, but more importantly, you'll learn the principles for making common code reusable with extension methods. By the end of the course, you'll have a complete understanding of how to get value from this powerful on underused feature. This course is part of rural sites c sharp learning path, and I hope you'll join me to learn what you can do with C sharp extension methods.