Hello Mike Gleason jr Couturier,
Look at [assembly: InternalsVisibleTo("MyFriendAssembly")]
it just give visibility to your assembly
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:
http://spaces.live.com/laflour
Team blog:
http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
M> Hi,
M>
M> I would like class B to access private members of class A
M> for optimisation reasons... To be specific. B instanciates A
M> and should initializes A's members to some values. But the public
M> interface of A shouldn't expose A's member variables.
M> Is there a way to do this in C#?
M>
M> I've already done this in C++!
M>
M> Thanks!
M>
M> Mike
M>