Click here to Skip to main content
15,889,808 members
Home / Discussions / C#
   

C#

 
QuestionUpdate issue on SQL using C# Pin
C#Coudou22-Aug-07 22:18
C#Coudou22-Aug-07 22:18 
AnswerRe: Update issue on SQL using C# Pin
Christian Graus22-Aug-07 22:23
protectorChristian Graus22-Aug-07 22:23 
GeneralRe: Update issue on SQL using C# Pin
C#Coudou22-Aug-07 22:34
C#Coudou22-Aug-07 22:34 
GeneralRe: Update issue on SQL using C# Pin
Christian Graus22-Aug-07 23:30
protectorChristian Graus22-Aug-07 23:30 
Questionmultiple inheritance Pin
kalyan_241622-Aug-07 21:18
kalyan_241622-Aug-07 21:18 
AnswerRe: multiple inheritance Pin
Michael Sync22-Aug-07 21:39
Michael Sync22-Aug-07 21:39 
GeneralRe: multiple inheritance Pin
kalyan_241622-Aug-07 22:43
kalyan_241622-Aug-07 22:43 
GeneralRe: multiple inheritance Pin
seeitsharper22-Aug-07 23:10
seeitsharper22-Aug-07 23:10 
The fundermental problem is there is a chance that a class can alter the behaviour (override) of a method in a base class. Now if 2 classes do this (override the same base class) and you inherit both these classes then you can have a situation where you dont know which implementation of that method you are calling.

There are other issues, but that is the one I can explain in the shortest amount of text.

-- oh and as far as interfaces go; as the interface does not define the implementation of the method, it is fine to implement multiple interfaces.






Keep your eyes open, you might spot alternatives.


GeneralRe: multiple inheritance Pin
Christian Graus22-Aug-07 23:28
protectorChristian Graus22-Aug-07 23:28 
GeneralRe: multiple inheritance Pin
seeitsharper23-Aug-07 1:08
seeitsharper23-Aug-07 1:08 
GeneralRe: multiple inheritance Pin
kalyan_241622-Aug-07 23:36
kalyan_241622-Aug-07 23:36 
GeneralRe: multiple inheritance Pin
Martin#22-Aug-07 23:50
Martin#22-Aug-07 23:50 
GeneralRe: multiple inheritance Pin
Christian Graus22-Aug-07 23:58
protectorChristian Graus22-Aug-07 23:58 
GeneralRe: multiple inheritance Pin
Martin#23-Aug-07 0:51
Martin#23-Aug-07 0:51 
GeneralRe: multiple inheritance Pin
PIEBALDconsult23-Aug-07 4:32
mvePIEBALDconsult23-Aug-07 4:32 
GeneralRe: multiple inheritance Pin
Martin#23-Aug-07 4:36
Martin#23-Aug-07 4:36 
GeneralRe: multiple inheritance Pin
PIEBALDconsult23-Aug-07 6:06
mvePIEBALDconsult23-Aug-07 6:06 
GeneralRe: multiple inheritance Pin
kalyan_241623-Aug-07 0:52
kalyan_241623-Aug-07 0:52 
GeneralRe: multiple inheritance Pin
seeitsharper23-Aug-07 1:16
seeitsharper23-Aug-07 1:16 
AnswerRe: multiple inheritance Pin
Christian Graus22-Aug-07 23:28
protectorChristian Graus22-Aug-07 23:28 
AnswerRe: multiple inheritance Pin
Colin Angus Mackay22-Aug-07 23:40
Colin Angus Mackay22-Aug-07 23:40 
GeneralRe: multiple inheritance Pin
Christian Graus22-Aug-07 23:59
protectorChristian Graus22-Aug-07 23:59 
GeneralRe: multiple inheritance Pin
kalyan_241623-Aug-07 0:44
kalyan_241623-Aug-07 0:44 
GeneralRe: multiple inheritance Pin
Christian Graus23-Aug-07 0:51
protectorChristian Graus23-Aug-07 0:51 
GeneralRe: multiple inheritance Pin
Martin#23-Aug-07 0:57
Martin#23-Aug-07 0:57 

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.