I would like add additional c# methods to a external static class that can't be modified. i.e create a wrapper class for convenience containing the methods of the external static class + my own static methods.
I first wanted to inherit my own class from the external static class but I discover that static classes are sealed and can't be inherited form.
What would be the best way to do this?
Thanks a lot for you help
Proxy the calls, per Llama's indication
public static class YourClass{
public SomeType TheirMethod(..){
return TheirClass.TheirMethod(...);
}
...