I have an interesting C# conundrum, which I can't think of a neat solution for ... or any solution.
I have two libraries - call them LibA and LibB. There must be no dependency between these libraries (i.e. a client application must be able to use either of these libraries without the other and neither library must require a reference or using statement to the other library).
The client application may - optionally - link the libraries, so that when a certain chunk of code in LibA is run, it calls a piece of code in LibB.
It would also be nice if the client application could set this up as simply as possible, perhaps with a single function call.
I am not sure this is even possible, but I would be extremely interested to hear from wiser C# programmers than I.
Kind wishes, Patrick