Z
Zytan
A member that is public is visible to any code that can see the class.
Ok, I get that. That's the technical definition that I already know.
What I am asking is: What is the assembly?
I think it's the current compilation (.exe or .dll). So, what is the
point of this distinction? What can possibly be outside the assembly
for us to care if something outside of it can see our stuff? What is
the difference between public and internal assuming 'assembly' isn't
defined? Your answer assumes the asker knows what 'assembly' means.
And this is precisely the term whose meaning I am trying to determine.
I hope my question is more clear now.
thanks!
Zytan
So if
your class is public, its public members will be visible outside of
the
assembly. If the class is internal (the default), its public members
are
visible only to other classes within the same assembly.
[snip]
Ok, I get that. That's the technical definition that I already know.
What I am asking is: What is the assembly?
I think it's the current compilation (.exe or .dll). So, what is the
point of this distinction? What can possibly be outside the assembly
for us to care if something outside of it can see our stuff? What is
the difference between public and internal assuming 'assembly' isn't
defined? Your answer assumes the asker knows what 'assembly' means.
And this is precisely the term whose meaning I am trying to determine.
I hope my question is more clear now.
thanks!
Zytan
