Click here to Skip to main content
15,884,628 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralTOols of testings Pin
Ali_1008-Jun-09 23:53
Ali_1008-Jun-09 23:53 
GeneralRe: TOols of testings Pin
Simon P Stevens9-Jun-09 0:46
Simon P Stevens9-Jun-09 0:46 
GeneralRe: TOols of testings Pin
Colin Angus Mackay9-Jun-09 1:57
Colin Angus Mackay9-Jun-09 1:57 
GeneralRe: TOols of testings PinPopular
Pete O'Hanlon9-Jun-09 2:19
mvePete O'Hanlon9-Jun-09 2:19 
GeneralRe: TOols of testings Pin
Eddy Vluggen9-Jun-09 7:37
professionalEddy Vluggen9-Jun-09 7:37 
GeneralMultiple inheritance Pin
Ali_1008-Jun-09 23:52
Ali_1008-Jun-09 23:52 
GeneralRe: Multiple inheritance Pin
Simon P Stevens9-Jun-09 0:39
Simon P Stevens9-Jun-09 0:39 
GeneralRe: Multiple inheritance Pin
supercat99-Jun-09 12:50
supercat99-Jun-09 12:50 
Simon Stevens wrote:
A Car is-a vehicle and a car also is-a ManMadeItem, but this forms a hierarchy (Car->Vehicle-ManMadeItem) so multiple inheritance isn't needed


I don't think I'd regard that as a hierarchy, because a horse could also be regarded as a Vehicle even though it is not a ManMadeItem.

I think the simplest way to look at the issues of inheritance versus interface is that an inherited base class can supply default fields and methods which are then usable by child classes; an interface not only does not provide default storage for fields and code for methods, but it can't even bind them by default. If an object inherited from Class1 and Class2, both of which provided a Smile method, it would be unclear whether TheObject.Smile was supposed invoke Class1.Smile or Class2.Smile. With interfaces, however, there is no problem. TheObject must have an "implements" line for every interface method it supports, indicating what method should be used for Interface1.Smile and which one should be used for Interface2.Smile. Further, to actually use either of those methods on an object, the object must first be cast to Interface1 or Interface2. Thus, there is no ambiguity.
GeneralRe: Multiple inheritance Pin
Baran M9-Jun-09 1:38
Baran M9-Jun-09 1:38 
GeneralRe: Multiple inheritance Pin
Colin Angus Mackay9-Jun-09 1:47
Colin Angus Mackay9-Jun-09 1:47 
Questionremoting and client devices that switch network cards on the fly Pin
Martijn van Kleef8-Jun-09 22:08
Martijn van Kleef8-Jun-09 22:08 
QuestionGet message "keyset does not exist" when attempting to publish Pin
swampwiz7-Jun-09 13:28
swampwiz7-Jun-09 13:28 
AnswerRe: Get message "keyset does not exist" when attempting to publish Pin
Mark Salsbery8-Jun-09 12:36
Mark Salsbery8-Jun-09 12:36 
GeneralRe: Get message "keyset does not exist" when attempting to publish Pin
swampwiz8-Jun-09 14:18
swampwiz8-Jun-09 14:18 
GeneralRe: Get message "keyset does not exist" when attempting to publish Pin
Mark Salsbery8-Jun-09 14:25
Mark Salsbery8-Jun-09 14:25 
GeneralRe: Get message "keyset does not exist" when attempting to publish Pin
swampwiz10-Jun-09 8:51
swampwiz10-Jun-09 8:51 
GeneralRe: Get message "keyset does not exist" when attempting to publish Pin
Mark Salsbery10-Jun-09 8:55
Mark Salsbery10-Jun-09 8:55 
QuestionDeployment Question - Client Profile Pin
Jammer7-Jun-09 10:40
Jammer7-Jun-09 10:40 
AnswerRe: Deployment Question - Client Profile Pin
Pete O'Hanlon7-Jun-09 11:11
mvePete O'Hanlon7-Jun-09 11:11 
GeneralRe: Deployment Question - Client Profile Pin
Jammer7-Jun-09 12:02
Jammer7-Jun-09 12:02 
GeneralRe: Deployment Question - Client Profile Pin
Pete O'Hanlon7-Jun-09 21:51
mvePete O'Hanlon7-Jun-09 21:51 
GeneralRe: Deployment Question - Client Profile Pin
Jammer7-Jun-09 22:52
Jammer7-Jun-09 22:52 
QuestionProblems with using series of PNG files as animations Pin
ddavor6-Jun-09 23:33
ddavor6-Jun-09 23:33 
AnswerRe: Problems with using series of PNG files as animations Pin
molesworth6-Jun-09 23:56
molesworth6-Jun-09 23:56 
GeneralRe: Problems with using series of PNG files as animations Pin
ddavor7-Jun-09 1:13
ddavor7-Jun-09 1:13 

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.