Click here to Skip to main content
16,009,112 members
Home / Discussions / C#
   

C#

 
Questionabout C# Pin
king2010-Jul-07 0:07
king2010-Jul-07 0:07 
AnswerRe: about C# Pin
king2010-Jul-07 0:12
king2010-Jul-07 0:12 
AnswerRe: about C# Pin
Christian Graus10-Jul-07 1:21
protectorChristian Graus10-Jul-07 1:21 
GeneralRe: about C# Pin
Vikram A Punathambekar10-Jul-07 5:05
Vikram A Punathambekar10-Jul-07 5:05 
AnswerRe: about C# Pin
Chintan.Desai10-Jul-07 2:28
Chintan.Desai10-Jul-07 2:28 
GeneralRe: about C# Pin
Le centriste10-Jul-07 2:41
Le centriste10-Jul-07 2:41 
AnswerRe: about C# Pin
Tony Lambert17-Dec-07 12:47
Tony Lambert17-Dec-07 12:47 
AnswerRe: about C# Pin
PhilDanger10-Jul-07 5:11
PhilDanger10-Jul-07 5:11 
It is VERY easy to abuse multiple inheritance and end up in "M.I. Hell" -- circular references, inheriting methods from each class that have the same name, destructors being called twice because two bases derive from the same base. All of this can be avoided with careful design, but I think it was a case of protecting the programmer from himself (herself).

-Phil

PS. I thought I'd save some time/code while programming a strategy/card game in C++ by having the card inherit from the actual unit so it could read it's stats and display it -- since the Card interface had the same accessor names for these stats I had to overload everything in the card in order to call the correct "versions" of these functions, and no time was saved.
AnswerRe: about C# Pin
Scott Dorman10-Jul-07 7:10
professionalScott Dorman10-Jul-07 7:10 
QuestionRegular Expressions Pin
dub_beat10-Jul-07 0:03
dub_beat10-Jul-07 0:03 
AnswerRe: Regular Expressions Pin
dub_beat10-Jul-07 4:53
dub_beat10-Jul-07 4:53 
GeneralRe: Regular Expressions Pin
Scott Dorman10-Jul-07 7:12
professionalScott Dorman10-Jul-07 7:12 
GeneralRe: Regular Expressions Pin
Jimmanuel10-Jul-07 7:32
Jimmanuel10-Jul-07 7:32 
GeneralRe: Regular Expressions Pin
dub_beat10-Jul-07 22:23
dub_beat10-Jul-07 22:23 
QuestionBlinking Label Pin
stancrm9-Jul-07 22:59
stancrm9-Jul-07 22:59 
AnswerRe: Blinking Label Pin
Bijesh9-Jul-07 23:04
Bijesh9-Jul-07 23:04 
GeneralRe: Blinking Label Pin
Martin#9-Jul-07 23:07
Martin#9-Jul-07 23:07 
AnswerRe: Blinking Label Pin
Vasudevan Deepak Kumar10-Jul-07 0:47
Vasudevan Deepak Kumar10-Jul-07 0:47 
GeneralRe: Blinking Label Pin
stancrm10-Jul-07 0:49
stancrm10-Jul-07 0:49 
AnswerRe: Blinking Label Pin
Luc Pattyn10-Jul-07 1:34
sitebuilderLuc Pattyn10-Jul-07 1:34 
QuestionRemote Administration of Windows Media Encoder 9 Using C# Pin
ashish_sharma_ait9-Jul-07 22:46
ashish_sharma_ait9-Jul-07 22:46 
AnswerRe: C#.Net -- xml parser exception Pin
originSH9-Jul-07 22:29
originSH9-Jul-07 22:29 
QuestionWorking Behind Boxing/Unboxing Pin
mani_iips9-Jul-07 22:20
mani_iips9-Jul-07 22:20 
AnswerRe: Working Behind Boxing/Unboxing Pin
originSH9-Jul-07 22:37
originSH9-Jul-07 22:37 
AnswerRe: Working Behind Boxing/Unboxing Pin
Chintan.Desai10-Jul-07 2:33
Chintan.Desai10-Jul-07 2:33 

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.