I have 5 projects in a solution. A and B are two projects. B is already referencing A. Now I want to call methods in A from B. But the problem is circular dependency. I saw it being solved by using Events. I tried this:
A------->B(reference A)
B------->A(dependency)
I also tried it from A using events. But I can't add listener methods to the event because listener methods are in B. I cannot have any access to B.
Can anyone tell me how this problem can be solved using events. I don't have much experience in events, delegates. Please correct me if I am wrong.