This video explains about Extension Method in C#.
Extension Method allows to add functionalities to an existing class
- Without Inheriting it
- Without Recompiling it
- Without otherwise modifying the original type
..........................................................................................
Steps to create an Extension Method,
1. Create a public static class in the same namespace
2. Create a public static method
3. Make sure first argument to the method is - this classname varname
For any training or consulting related queries send email to [email protected]