p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Visual C# 2010 (http://p2p.wrox.com/forumdisplay.php?f=563)
-   -   Protected Internal Members (http://p2p.wrox.com/showthread.php?t=94703)

lmstearn July 12th, 2015 01:38 AM

Protected Internal Members
 
Hi there,
This is my first post here, so please be kind [8)]
Have gone through the early chapters of this excellent book to great benefit.
A little question regarding the definition of 'protected internal' in page 242.

Quote:

The last two of these can be combined, so protected internal members are also possible. These are
only accessible from code-derived classes within the project (more accurately, the assembly).
Other definitions follow along the lines of
Quote:

'protected internal' allows the member to be available anywhere in the assembly in addition to any classes inheriting the class (in the assembly or not).
Do they mean the same thing?
Thanks in advance. [:)]

Well, while we're here, on page 257 it states:
Quote:

Interface members can’t be defined using the keywords static , virtual , abstract , or
sealed
yet on page 259
Quote:

It is possible to implement interface members using the keyword virtual or abstract , but not static
or const .
This is slightly confusing. Anyone able to clear the fog?


All times are GMT -4. The time now is 03:51 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.