How to make a Private Method in to a Public Method in .NET

added by tdupont
5/6/2014 3:52:45 PM

3 Kicks, 223 Views

Once and a while we all have to work with a poorly designed API, and sometimes you just really need to access to a private method inside of their code. So when you are out of other options, what can you do to access a private method? Just make an extension method.