C
csharpula csharp
Hello,
I need a functionality which will be mutual for two classes (A and B)
which have no inheritence between them -> I created a new class C which
will contain the mutual methods.
There is an external class D which will need to use A and B methods by
getting the object C and activate the methods.
Is there a need to make C static or public is enough?
How can I insure mutual exclusion?
I need a functionality which will be mutual for two classes (A and B)
which have no inheritence between them -> I created a new class C which
will contain the mutual methods.
There is an external class D which will need to use A and B methods by
getting the object C and activate the methods.
Is there a need to make C static or public is enough?
How can I insure mutual exclusion?