I did go through some MSDN documentations. I found extension methods also documented there.
I didn't understand, why these base class libraries have extension methods? when they could have been added to that particular class library itself?
what is the advantage? difference ?
Note, that many of the these methods operates on Interfaces, which is a perfectly legitimate excuse of using Extension Methods, even for Microsoft since interfaces themselves can't have any implementation of methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With