Click here to Skip to main content
15,908,112 members
Home / Discussions / C#
   

C#

 
AnswerCP Ignore Pin
leckey19-May-08 9:33
leckey19-May-08 9:33 
GeneralRe: CP Ignore Pin
DaveyM6919-May-08 9:45
professionalDaveyM6919-May-08 9:45 
AnswerRe: Just checking if am on the right track with my code Pin
DaveyM6919-May-08 9:43
professionalDaveyM6919-May-08 9:43 
AnswerRe: Just checking if am on the right track with my code Pin
#realJSOP19-May-08 10:04
professional#realJSOP19-May-08 10:04 
GeneralRe: Just checking if am on the right track with my code Pin
Angelinna19-May-08 12:20
Angelinna19-May-08 12:20 
QuestionInheritance of class properties Pin
redivider19-May-08 8:48
redivider19-May-08 8:48 
AnswerRe: Inheritance of class properties Pin
Gareth H19-May-08 9:37
Gareth H19-May-08 9:37 
AnswerRe: Inheritance of class properties Pin
Guffa19-May-08 12:06
Guffa19-May-08 12:06 
Variables can not be virtual. What you are doing is not overriding, it's shadowing. To tell the compiler that you intend to shadow the variable in the parent class, you use the new keyword:
public class Base {
   public string _Caption="parentresult";
}

public class Child : Base {
   public new string _Caption="childresult";
}

If you want to override something, it has to be a property or a method.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionRemote control a DirectX application Pin
Valar8319-May-08 7:56
Valar8319-May-08 7:56 
AnswerRe: Remote control a DirectX application Pin
Thomas Stockwell19-May-08 8:02
professionalThomas Stockwell19-May-08 8:02 
QuestionPrinting from a web application. Pin
Furi Goled19-May-08 7:01
Furi Goled19-May-08 7:01 
AnswerRe: Printing from a web application. Pin
Pete O'Hanlon19-May-08 8:29
mvePete O'Hanlon19-May-08 8:29 
QuestionRemoting + Events Pin
smoke8619-May-08 7:01
smoke8619-May-08 7:01 
Questionc# windows application browse and upload functionality sourcecode Pin
jay10019-May-08 7:00
jay10019-May-08 7:00 
AnswerRe: c# windows application browse and upload functionality sourcecode Pin
SomeGuyThatIsMe19-May-08 7:40
SomeGuyThatIsMe19-May-08 7:40 
QuestionRetrieving the identity value after insert a row. Pin
aecordoba19-May-08 6:51
aecordoba19-May-08 6:51 
AnswerRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe19-May-08 7:01
SomeGuyThatIsMe19-May-08 7:01 
GeneralRe: Retrieving the identity value after insert a row. Pin
aecordoba19-May-08 7:29
aecordoba19-May-08 7:29 
GeneralRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe19-May-08 7:36
SomeGuyThatIsMe19-May-08 7:36 
GeneralRe: Retrieving the identity value after insert a row. Pin
aecordoba20-May-08 2:18
aecordoba20-May-08 2:18 
GeneralRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe20-May-08 3:16
SomeGuyThatIsMe20-May-08 3:16 
GeneralRe: Retrieving the identity value after insert a row. Pin
aecordoba21-May-08 1:51
aecordoba21-May-08 1:51 
GeneralRe: Retrieving the identity value after insert a row. Pin
SomeGuyThatIsMe21-May-08 2:09
SomeGuyThatIsMe21-May-08 2:09 
GeneralCrystalReportViewer Toolbox print button event Pin
Kit Fisto19-May-08 6:25
Kit Fisto19-May-08 6:25 
QuestionProblem With '{ }' Pin
Saba0219-May-08 5:48
Saba0219-May-08 5:48 

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.