Hi,
I adding a reference to .dll file in an application.
How can we do enhancements to a .dll file methods.
.dll file
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 attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Mar 6, 2012, 6:47 AM EST
If you're not familiar with these, then check this article which shows how to add an extension method to the String class:
http://www.c-sharpcorner.com/uploadfile/43e0cb/extension-methods-in-net/
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 6, 2012, 6:22 PM EST
Agree with Vulpes,
you can write youe extension method over methods of .dll file.
you can also extend your dll class using override(virtual) function or method define in dll.
hope this help.
Sam HobbsRank #107 · 20.5K reputationPosted Mar 7, 2012, 4:04 AM EST