Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
QuestionIs possible to use the same background process for all forms? Pin
Member 1405587922-Jan-23 10:29
Member 1405587922-Jan-23 10:29 
AnswerRe: Is possible to use the same background process for all forms? Pin
Dave Kreskowiak22-Jan-23 13:15
mveDave Kreskowiak22-Jan-23 13:15 
AnswerRe: Is possible to use the same background process for all forms? Pin
Gerry Schmitz22-Jan-23 18:34
mveGerry Schmitz22-Jan-23 18:34 
AnswerRe: Is possible to use the same background process for all forms? Pin
OriginalGriff22-Jan-23 18:49
mveOriginalGriff22-Jan-23 18:49 
AnswerRe: Is possible to use the same background process for all forms? Pin
jschell24-Jan-23 10:27
jschell24-Jan-23 10:27 
Question"the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 3:17
professionalBillWoodruff15-Jan-23 3:17 
AnswerRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 4:00
mveOriginalGriff15-Jan-23 4:00 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 4:48
professionalBillWoodruff15-Jan-23 4:48 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:00
mvaGraeme_Grant15-Jan-23 5:00 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 5:20
professionalBillWoodruff15-Jan-23 5:20 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:07
mveOriginalGriff15-Jan-23 5:07 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:11
mvaGraeme_Grant15-Jan-23 5:11 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:37
mveOriginalGriff15-Jan-23 5:37 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Graeme_Grant15-Jan-23 5:47
mvaGraeme_Grant15-Jan-23 5:47 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:55
mveOriginalGriff15-Jan-23 5:55 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 16:52
professionalBillWoodruff15-Jan-23 16:52 
PraiseRe: "the horror:" why does C# let me get away with this ? Pin
RedDk15-Jan-23 5:31
RedDk15-Jan-23 5:31 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 5:39
mveOriginalGriff15-Jan-23 5:39 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
Richard MacCutchan15-Jan-23 6:32
mveRichard MacCutchan15-Jan-23 6:32 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
OriginalGriff15-Jan-23 7:34
mveOriginalGriff15-Jan-23 7:34 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
RedDk15-Jan-23 6:49
RedDk15-Jan-23 6:49 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 16:57
professionalBillWoodruff15-Jan-23 16:57 
AnswerRe: "the horror:" why does C# let me get away with this ? Pin
jschell15-Jan-23 8:05
jschell15-Jan-23 8:05 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
BillWoodruff15-Jan-23 17:13
professionalBillWoodruff15-Jan-23 17:13 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
lmoelleb17-Jan-23 23:10
lmoelleb17-Jan-23 23:10 
From memory, I believe Java defaults to virtual methods - so unless you specifically tell it not to, the method in the derived class will be called. This increase the risk of breaking changes simply by updating a package you depend on. If the base happens to have added a method you also have (not that unheard of as you might have overwritten to add a feature the library author is also working on), then your code will execute to the surprise of both of you. In C# with default implementation both the base class and the derived class will execute the same code they did before the update if no other code change is made.

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.