|
-
Sep 11th, 2006, 07:23 AM
#1
Thread Starter
Just Married
-
Sep 11th, 2006, 08:09 AM
#2
Re: [2005] Question
Have you read the documentation? If not why not? If so what part is not clear?
The Friend (Visual Basic) keyword in the declaration statement specifies that the elements are accessible from within the same assembly, but not from outside the assembly.
The Protected and Friend keywords together in the declaration statement specify that the elements are accessible either from derived classes or from within the same assembly, or both.
C# and C++.NET both have the 'protected' key word too. Also, the C# equivalent of 'Friend' is 'internal', so this is by no means VB-specific.
-
Sep 11th, 2006, 08:19 AM
#3
Thread Starter
Just Married
Re: [2005] Question
Thanks friend in my book only above line was given not the documentation so I ask the question
Thanks for guidance
-
Sep 11th, 2006, 08:22 AM
#4
Re: [RESOLVED] [2005] Question
You should ALWAYS check MSDN and don't rely on any book to have everything. You should install the MSDN library locally but, if you can't or don't want to for some reason it is all available on-line. It should always be the first place you look if you need information.
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
|