Extension method: Difference between revisions

Content deleted Content added
mNo edit summary
Line 1:
=Extension Methods=
One of the features of [[C-Sharp|C# 3.0]]
==Problem==
First let's consider the case we have a class, and we want to add extra function to it, so simply if we have the class code, we will edit that code and that's it, so what if this class is inside an assembly (dll) which we don't have the code, the solution will be one of two options,