views:

179

answers:

2
+1  A: 

This is a duplicate question:

http://stackoverflow.com/questions/203616/why-does-c-not-provide-the-c-style-friend-keyword

Razzie
Just add this information as a comment rather than an answer.
ChrisF
A: 

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

alemjerus
'but you can put these classes into same file' - that certainly doesn't grant access to private members.
Razzie