In my previous blog post, I discussed how to build a .NET component that works with different versions of a particular library. In that post, I demonstrated a technique for accessing instance methods that get added in a later version of a library. In this post, I'll modify the technique some to make it work reasonably well for static methods that get added in a later version of a library.
Let's starts by looking at Version 1.0 of some library class:
public sealed class VersioningType { ...
Published on July 16, 2010 06:10