The Crazy Coder
Published in

The Crazy Coder

Create Your Own C# Extension Method

Add new methods in the existing class without using inheritance

Photo by Donald Giannatti on Unsplash

Extension methods, as the name suggests, are additional methods. Extension methods allow you to inject additional methods without modifying, deriving or recompiling the original class, struct or interface. Extension methods can be added to your own custom class, .NET framework classes, or third…

--

--

--

A must-have medium blog to develop programming skills.

Recommended from Medium

EPISODE #60: Why Lasting Automation Success and Competitive Advantage Require Process Excellence

How to fix no internet issues in Wireguard

Software Reliability C++ vs Zig

What Does an Android Developer Do?

Unmarshal joins forces with Safle to shape the future of DeFi

Custom Rule Engine using Java

FirmaChain UPbit Listing Announcement

Journal 11 — Unity Practice Script Communication

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Colton

Colton

A software engineer who is always at a high level of passion with new techs and a strong willing to share with what I have learned.

More from Medium

How To Differentiate If, Else if, Else (but with my mother as example)

Wait, .NET is HOW old?!?

Func vs Action In .NET

What are Middlewares and How They are Used in .NET