Click here to Skip to main content
16,006,768 members
Home / Discussions / C#
   

C#

 
GeneralRe: accessing base class fn.. Pin
bjoernen6-Nov-03 3:03
bjoernen6-Nov-03 3:03 
GeneralRe: accessing base class fn.. Pin
R. Thomas6-Nov-03 4:02
R. Thomas6-Nov-03 4:02 
GeneralRe: accessing base class fn.. Pin
bjoernen6-Nov-03 4:42
bjoernen6-Nov-03 4:42 
Generalnoob inherritance prob Pin
R. Thomas6-Nov-03 2:04
R. Thomas6-Nov-03 2:04 
GeneralRe: noob inherritance prob Pin
bjoernen6-Nov-03 2:51
bjoernen6-Nov-03 2:51 
GeneralRe: noob inherritance prob Pin
R. Thomas6-Nov-03 4:04
R. Thomas6-Nov-03 4:04 
GeneralRe: noob inherritance prob Pin
bjoernen6-Nov-03 4:43
bjoernen6-Nov-03 4:43 
GeneralRe: noob inherritance prob Pin
Jeff Varszegi6-Nov-03 7:30
professionalJeff Varszegi6-Nov-03 7:30 
Joseph,

I think that the problem is that some of the folks on this forum may think that your questions are just a little too newbie-ish(?). For example, access modifiers like protected are covered very, very thoroughly in all beginner-level C# programming books, even the bad ones. Have you bought any books? You may also want to consider enrolling in a class somewhere to learn what object-oriented programming's all about. It's simple once you learn it, but learning it is not simple for all people. You won't learn OO programming by asking newbie questions on this forum, either.

So if you were to go off, learn the definition of protected, write some sample code to play around with it, and then you still had questions, it would be a different matter.

The answer to your question in this case is that you are confused on the difference between private and protected. private means that nothing outside of the class (not even child classes) can see the thing so labelled; protected means that only the class itself and child classes can see the thing so labelled. You could have easily found this out by browsing the MSDN help.

I'm not trying to put you down-- it's great that you're learning. Still, to flood this or any forum with questions you can easily answer for yourself amounts to a sort of spam. Also, like I said, I don't think that you will get what you're after this way; your goal should be a good understanding of these concepts.

Thank you.

Jeff Varszegi
GeneralRe: noob inherritance prob Pin
R. Thomas6-Nov-03 20:16
R. Thomas6-Nov-03 20:16 
GeneralUserControls Pin
Den2Fly6-Nov-03 1:42
Den2Fly6-Nov-03 1:42 
GeneralEnable xp themes via code in 1.0 Pin
Roger Alsing6-Nov-03 1:04
Roger Alsing6-Nov-03 1:04 
GeneralRe: Enable xp themes via code in 1.0 Pin
Heath Stewart6-Nov-03 4:40
protectorHeath Stewart6-Nov-03 4:40 
GeneralRe: Enable xp themes via code in 1.0 Pin
Roger Alsing6-Nov-03 4:45
Roger Alsing6-Nov-03 4:45 
GeneralRe: Enable xp themes via code in 1.0 Pin
Heath Stewart6-Nov-03 11:33
protectorHeath Stewart6-Nov-03 11:33 
QuestionHow can I change memory with IntPtr Pin
System_Reflection5-Nov-03 21:52
System_Reflection5-Nov-03 21:52 
AnswerRe: How can I change memory with IntPtr Pin
Corinna John6-Nov-03 0:58
Corinna John6-Nov-03 0:58 
GeneralAnimated/skinned mesh in C# Pin
bjoernen5-Nov-03 21:38
bjoernen5-Nov-03 21:38 
GeneralRe: Animated/skinned mesh in C# Pin
nematzade23-May-10 5:51
nematzade23-May-10 5:51 
GeneralEmbedded Icons and ImageList Pin
pnolan5-Nov-03 20:19
pnolan5-Nov-03 20:19 
GeneralRe: Embedded Icons and ImageList Pin
Heath Stewart6-Nov-03 4:07
protectorHeath Stewart6-Nov-03 4:07 
GeneralDataGrid Column Resize Pin
pnolan5-Nov-03 20:15
pnolan5-Nov-03 20:15 
GeneralRe: DataGrid Column Resize Pin
Daniel Zaharia5-Nov-03 22:37
Daniel Zaharia5-Nov-03 22:37 
GeneralC# Client Server Database Application Pin
Cenray. G5-Nov-03 19:39
Cenray. G5-Nov-03 19:39 
GeneralRe: C# Client Server Database Application Pin
mhmoud rawas5-Nov-03 20:39
mhmoud rawas5-Nov-03 20:39 
Questionhow to delete one file in network share folder with .NET Pin
don7cry5-Nov-03 19:18
don7cry5-Nov-03 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.