I have a c# dll from a supplier. I have extracted the source code, but it's not an option to modify it myself.
Supose the dll has these classes (in the same namespace):
public static class A {
public static string Method1(this Helper helper, B options) {
...
}
}
public class B {
public int LoadingElementDuration {
get;
set;
}
public string Method2() {
...
}
}
Class A is all fine. This the class that is used by us. Is it possible to modify class B? I want to add a property and override Method2 with my own code. Class A should then use my code instead of the default class B.
Thanks.