extension methods
Blog post, C#

Using Extension Methods in C# to Expand External Libraries

Extension methods are a great way of advancing an existing library without modifying the original class. But it is possible to do something even more powerful with it. Even the dlls of a closed source commercial library can be extended. Halcon is a commercial computer vision library which will be used for showcasing this application.