Click here to Skip to main content
15,905,558 members
Home / Discussions / C#
   

C#

 
QuestionTree Control - Paged/On Demand population Pin
AJ1237-Apr-06 3:01
AJ1237-Apr-06 3:01 
AnswerRe: Tree Control - Paged/On Demand population Pin
Josh Smith7-Apr-06 3:55
Josh Smith7-Apr-06 3:55 
QuestionWhats wrong with this? Pin
livez7-Apr-06 2:19
livez7-Apr-06 2:19 
AnswerRe: Whats wrong with this? Pin
Colin Angus Mackay7-Apr-06 2:25
Colin Angus Mackay7-Apr-06 2:25 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 2:28
livez7-Apr-06 2:28 
GeneralRe: Whats wrong with this? Pin
Jon Hulatt7-Apr-06 3:17
Jon Hulatt7-Apr-06 3:17 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 3:25
livez7-Apr-06 3:25 
GeneralRe: Whats wrong with this? Pin
Guffa7-Apr-06 2:45
Guffa7-Apr-06 2:45 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 3:04
livez7-Apr-06 3:04 
GeneralRe: Whats wrong with this? Pin
Jon Hulatt7-Apr-06 3:28
Jon Hulatt7-Apr-06 3:28 
GeneralRe: Whats wrong with this? Pin
livez7-Apr-06 3:49
livez7-Apr-06 3:49 
AnswerRe: Whats wrong with this? Pin
Judah Gabriel Himango7-Apr-06 4:05
sponsorJudah Gabriel Himango7-Apr-06 4:05 
QuestionC# and MS Word? Pin
kbalias7-Apr-06 1:59
kbalias7-Apr-06 1:59 
AnswerRe: C# and MS Word? Pin
scoroop7-Apr-06 2:07
scoroop7-Apr-06 2:07 
QuestionEvaluating a value to a string Pin
Bill - Go Steelers!7-Apr-06 1:58
Bill - Go Steelers!7-Apr-06 1:58 
GeneralRe: Evaluating a value to a string Pin
Guffa7-Apr-06 2:34
Guffa7-Apr-06 2:34 
GeneralRe: Evaluating a value to a string Pin
Bill - Go Steelers!7-Apr-06 2:49
Bill - Go Steelers!7-Apr-06 2:49 
GeneralRe: Evaluating a value to a string Pin
Guffa7-Apr-06 6:13
Guffa7-Apr-06 6:13 
GeneralRe: Evaluating a value to a string Pin
Bill - Go Steelers!7-Apr-06 8:51
Bill - Go Steelers!7-Apr-06 8:51 
Questiontype conversions Pin
Jon Hulatt7-Apr-06 1:48
Jon Hulatt7-Apr-06 1:48 
AnswerRe: type conversions Pin
Guffa7-Apr-06 2:03
Guffa7-Apr-06 2:03 
GeneralRe: type conversions Pin
Jon Hulatt7-Apr-06 3:10
Jon Hulatt7-Apr-06 3:10 
Guffa wrote:
Yes, you can. You can access any protected members from the derived class. That is exactly what the protected keyword does, it allows access only from members of the class and from members of any derived classes.


Not in the scenario I described above, you can't. Look at this example:-

class A
{
    protected string astring = "hello world";
}

class B : A
{
    public static B FromA(A ainstance)
    {
        string testing = ainstance.astring; // <-- Can't do this
    }
}


using System.Beer;

AnswerRe: type conversions Pin
Guffa7-Apr-06 6:38
Guffa7-Apr-06 6:38 
GeneralRe: type conversions Pin
S. Senthil Kumar7-Apr-06 18:37
S. Senthil Kumar7-Apr-06 18:37 
QuestionI have a question about MDI application. Pin
Alexander Kochurov7-Apr-06 1:00
Alexander Kochurov7-Apr-06 1:00 

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.