When declaring an assembly as friend with [assembly: InternalsVisibleTo("MyFriend")]
, I have to use the name MyFriend
for the other assembly to get access to the internal
classes/methodes.
Now I am confused. How is this an lower access than declaring the methods as public
? Because I just have to name any assembly MyFriend
to get access.
What I am getting wrong?