|
-
January 29th, 2005, 03:32 PM
#1
Intrepreting the word "same assembly"
internal members of a class can be accessed only by objects declared in the same assembly.
What do we mean when we say "same assembly"(I dont think that it has any reference to the assembly code, or the IL, generated)?
Thanks
Vikram
-
January 29th, 2005, 06:26 PM
#2
Re: Intrepreting the word "same assembly"
Inside of the same assembly means what it says.
An assembly is a .NET file : whether it be an executable or a dll.
If you have a dll assembly then having the 'internal' keyword on a class or member function/property will mean that it is only available from classes and functionality defined in that dll.
Any other assembly (whether it be an exe or a dll) will not have access to that class or member.
Darwen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|