This is a duplicate question:
http://stackoverflow.com/questions/203616/why-does-c-not-provide-the-c-style-friend-keyword
Razzie
2009-12-16 12:12:53
This is a duplicate question:
http://stackoverflow.com/questions/203616/why-does-c-not-provide-the-c-style-friend-keyword
There are no friends in C#, it's true, but you can put these classes into same file, so they both will be able to access each other's functions. Or use "partial" classes, putting only init() function of each class into the same file where your factory resides