Click here to Skip to main content
15,913,709 members
Home / Discussions / C#
   

C#

 
AnswerRe: To be liberal or conservative with virtual methods... Pin
Jimmanuel8-Dec-09 10:58
Jimmanuel8-Dec-09 10:58 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 11:11
mvePIEBALDconsult8-Dec-09 11:11 
GeneralRe: To be liberal or conservative with virtual methods... Pin
Jimmanuel8-Dec-09 11:21
Jimmanuel8-Dec-09 11:21 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 11:52
mvePIEBALDconsult8-Dec-09 11:52 
GeneralRe: To be liberal or conservative with virtual methods... Pin
Jimmanuel8-Dec-09 12:44
Jimmanuel8-Dec-09 12:44 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 13:03
mvePIEBALDconsult8-Dec-09 13:03 
GeneralRe: To be liberal or conservative with virtual methods... [modified] Pin
PIEBALDconsult8-Dec-09 14:46
mvePIEBALDconsult8-Dec-09 14:46 
GeneralRe: To be liberal or conservative with virtual methods... Pin
Jimmanuel8-Dec-09 15:34
Jimmanuel8-Dec-09 15:34 
So if you have a non virtual method in a base and a "new" method in a child that hides it, you have to change the hiding child method to an override if you change the base method to be virtual?

If that's true then that's one more reason that I don't like hiding methods with "new". Following along the same lines as before, if a child has the need to hide a method in a base class I'd call that grounds to make the thing virtual in the first place instead of just hiding it.


Badger | [badger,badger,badger,badger...]

GeneralRe: To be liberal or conservative with virtual methods... [modified] Pin
PIEBALDconsult8-Dec-09 16:26
mvePIEBALDconsult8-Dec-09 16:26 
AnswerRe: To be liberal or conservative with virtual methods... Pin
Daniel Grunwald8-Dec-09 15:05
Daniel Grunwald8-Dec-09 15:05 
GeneralRe: To be liberal or conservative with virtual methods... Pin
PIEBALDconsult8-Dec-09 17:44
mvePIEBALDconsult8-Dec-09 17:44 
QuestionCheckedListBox state to property Pin
BDJones8-Dec-09 7:06
BDJones8-Dec-09 7:06 
AnswerRe: CheckedListBox state to property Pin
PIEBALDconsult8-Dec-09 7:32
mvePIEBALDconsult8-Dec-09 7:32 
AnswerRe: CheckedListBox state to property Pin
dan!sh 8-Dec-09 8:03
professional dan!sh 8-Dec-09 8:03 
QuestionRe: CheckedListBox state to property Pin
BDJones8-Dec-09 8:44
BDJones8-Dec-09 8:44 
AnswerRe: CheckedListBox state to property Pin
PIEBALDconsult8-Dec-09 10:30
mvePIEBALDconsult8-Dec-09 10:30 
AnswerRe: CheckedListBox state to property Pin
dan!sh 8-Dec-09 16:27
professional dan!sh 8-Dec-09 16:27 
Questionany other better way for window form to interact with excel? Pin
neodeaths8-Dec-09 4:39
neodeaths8-Dec-09 4:39 
AnswerRe: any other better way for window form to interact with excel? Pin
Giorgi Dalakishvili8-Dec-09 5:19
mentorGiorgi Dalakishvili8-Dec-09 5:19 
GeneralRe: any other better way for window form to interact with excel? Pin
neodeaths14-Dec-09 20:17
neodeaths14-Dec-09 20:17 
GeneralRe: any other better way for window form to interact with excel? Pin
Giorgi Dalakishvili15-Dec-09 5:19
mentorGiorgi Dalakishvili15-Dec-09 5:19 
QuestionDrop and redefine a type in a dynamic module ? Pin
Duncan Edwards Jones8-Dec-09 4:00
professionalDuncan Edwards Jones8-Dec-09 4:00 
AnswerRe: Drop and redefine a type in a dynamic module ? Pin
Luc Pattyn8-Dec-09 5:05
sitebuilderLuc Pattyn8-Dec-09 5:05 
GeneralRe: Drop and redefine a type in a dynamic module ? Pin
Duncan Edwards Jones8-Dec-09 7:10
professionalDuncan Edwards Jones8-Dec-09 7:10 
GeneralRe: Drop and redefine a type in a dynamic module ? Pin
Luc Pattyn8-Dec-09 7:47
sitebuilderLuc Pattyn8-Dec-09 7: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.