Understanding Extension Methods in .Net

AramT
51.5K views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

.Net extension methods is a powerful extensibility feature that .Net provides for the developers to extend the existing functionality of data types and classes and add more methods without having to obtain the source code and recompile it. This implies providing the developer with a seamless use of the new methods as if these methods are part of the original class or datatype.

I hope this article and the runnable examples has provided you an adequate knowledge to the amazing extension methods feature in .Net. So are you going to start using this amazing feature in .Net? Share with us your comments and thoughts.

Article has been ported from CodingSonata.com

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content