What is extender class?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Karthikeyan KRank #554 · 4.4K reputationPosted Oct 5, 2016, 9:38 AM EDT
Hi Mohammad,
Please refer the below link
Midhun TpRank #388 · 6.5K reputationPosted Oct 5, 2016, 5:42 PM EDT
First of all you have to know about Extension methods.
Extension methods enables you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.
An extension method is a special kind of static method, but they are called as if they were instance methods on the extended type.
Now take a look at below articles to get an idea about how Extension classes are created-
https://www.dotnetperls.com/extension
http://csharp.net-tutorials.com/csharp-3.0/extension-methods/
http://www.c-sharpcorner.com/uploadfile/puranindia/extension-methods-in-c-sharp-3-0/
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Oct 5, 2016, 6:48 PM EDT