C# Extension Methods
Extension methods are a powerful C# feature which are underused and often misunderstood. In this course you’ll learn all you need to know about writing and using extension methods.
What you'll learn
Extension methods are a powerful C# feature which are underused and often misunderstood. In this course you’ll learn all about writing, using and organizing extension methods, how the CLR implements them and what scenarios they enable. We’ll build a library of key extension methods you can use in your own projects to make your code cleaner, safer and more maintainable.
Table of contents
- Introducing Extension Methods 3m
- Course Outline 3m
- Demo 1: Extending System Types 4m
- Demo 1: Extending System Types (part 2) 3m
- Extending System Types 4m
- Demo 2: Piggybacking Namespaces 5m
- Piggybacking Namespaces 4m
- Demo 3: Extending Interfaces 4m
- Extending Interfaces 3m
- Demo 4: Extending Collections 6m
- Extending Collections 4m
- Demo 5: Extending Everything 3m
- Demo 5: Extending Everything (part 2) 3m
- Extending Everything 2m
- Module Summary 2m
- Introducing the Extension Method Library 5m
- Demo 1: Exceptions and Enums (part 1) 3m
- Demo 1: Exceptions and Enums (part 2) 4m
- Exceptions and Enums 4m
- Demo 2: Reflection and Expressions (part 1) 4m
- Demo 2: Reflection and Expressions (part 2) 3m
- Reflection and Expressions 3m
- Demo 3: Entity Framework (part 1) 3m
- Demo 3: Entity Framework (part 2) 3m
- Demo 3: Entity Framework (part 3) 3m
- Entity Framework 4m