Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: Flickering Pin
RizwanSharp28-Feb-06 17:57
RizwanSharp28-Feb-06 17:57 
GeneralRe: Flickering Pin
J4amieC28-Feb-06 21:46
J4amieC28-Feb-06 21:46 
QuestionAccessing method on another thread.. STATIC? Pin
2hdass28-Feb-06 8:21
2hdass28-Feb-06 8:21 
AnswerRe: Accessing method on another thread.. STATIC? Pin
Judah Gabriel Himango28-Feb-06 9:24
sponsorJudah Gabriel Himango28-Feb-06 9:24 
QuestionVoice Capture/Recording with microphone Pin
Xodiak28-Feb-06 8:20
Xodiak28-Feb-06 8:20 
AnswerRe: Voice Capture/Recording with microphone Pin
RizwanSharp28-Feb-06 8:44
RizwanSharp28-Feb-06 8:44 
GeneralRe: Voice Capture/Recording with microphone Pin
Xodiak1-Mar-06 5:05
Xodiak1-Mar-06 5:05 
Questionbase-class method access type Pin
spin vector28-Feb-06 8:15
spin vector28-Feb-06 8:15 
Hi everyone,

I'm putting some members and methods in a base class to reuse the code in various derived classes. I don't want the base-class items to be exposed beyond the derived class but I'd prefer direct access to the base-class items from the drived class.

For instance:

public class B
{
public string m;

public void baseFunc()
{
// foo
}
}

public class D : B
{
m = "my string";
baseFunc();
}

What is the proper base-class access modifier to use on m and baseFunc() so that D does not expose these? Perhaps protected?

Thanks.

AnswerRe: base-class method access type Pin
Guffa28-Feb-06 9:03
Guffa28-Feb-06 9:03 
QuestionC# - Custom control - Text fold effect Pin
dream2code28-Feb-06 8:08
dream2code28-Feb-06 8:08 
AnswerRe: C# - Custom control - Text fold effect Pin
Judah Gabriel Himango28-Feb-06 9:34
sponsorJudah Gabriel Himango28-Feb-06 9:34 
AnswerRe: C# - Custom control - Text fold effect Pin
goyal manish28-Feb-06 18:59
goyal manish28-Feb-06 18:59 
QuestionProblem with custom config sections Pin
Jamie Nordmeyer28-Feb-06 7:47
Jamie Nordmeyer28-Feb-06 7:47 
AnswerRe: Problem with custom config sections Pin
PicklesTheClown28-Feb-06 13:17
PicklesTheClown28-Feb-06 13:17 
QuestionPassing data from a form??? Pin
richiemac28-Feb-06 6:08
richiemac28-Feb-06 6:08 
AnswerRe: Passing data from a form??? Pin
Le centriste28-Feb-06 6:37
Le centriste28-Feb-06 6:37 
GeneralRe: Thanks dude! Pin
richiemac28-Feb-06 6:57
richiemac28-Feb-06 6:57 
GeneralMy pleasure! Pin
Le centriste28-Feb-06 7:29
Le centriste28-Feb-06 7:29 
GeneralRe: Passing data from a form??? Pin
Lyle M1-Mar-06 11:39
Lyle M1-Mar-06 11:39 
GeneralRe: Passing data from a form??? Pin
Le centriste1-Mar-06 12:17
Le centriste1-Mar-06 12:17 
AnswerRe: Passing data from a form??? Pin
Robin Panther28-Feb-06 16:00
Robin Panther28-Feb-06 16:00 
GeneralRe: Passing data from a form??? Pin
Le centriste1-Mar-06 1:45
Le centriste1-Mar-06 1:45 
QuestionHow to display fraction Pin
subir12328-Feb-06 6:07
subir12328-Feb-06 6:07 
AnswerRe: How to display fraction Pin
Elfreda28-Feb-06 6:46
Elfreda28-Feb-06 6:46 
AnswerRe: How to display fraction Pin
Judah Gabriel Himango28-Feb-06 6:47
sponsorJudah Gabriel Himango28-Feb-06 6:47 

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.