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

C#

 
AnswerRe: Console component Pin
Luc Pattyn7-Aug-07 14:39
sitebuilderLuc Pattyn7-Aug-07 14:39 
GeneralRe: Console component Pin
noon427-Aug-07 14:51
noon427-Aug-07 14:51 
GeneralRe: Console component Pin
Luc Pattyn7-Aug-07 15:04
sitebuilderLuc Pattyn7-Aug-07 15:04 
GeneralRe: Console component Pin
noon427-Aug-07 15:20
noon427-Aug-07 15:20 
QuestionInterface VS Abstract classes Pin
seemamltn7-Aug-07 13:58
seemamltn7-Aug-07 13:58 
GeneralRe: Interface VS Abstract classes Pin
PIEBALDconsult7-Aug-07 14:07
mvePIEBALDconsult7-Aug-07 14:07 
AnswerRe: Interface VS Abstract classes Pin
Christian Graus7-Aug-07 14:30
protectorChristian Graus7-Aug-07 14:30 
AnswerRe: Interface VS Abstract classes Pin
Jeff.Hu7-Aug-07 17:16
Jeff.Hu7-Aug-07 17:16 
The usage of interface is like a contract. That is to use it to control the entry port and the output to fit some rule that you need.
And abstract class is like a context. It's containing the common attributes and deflaut behaviors those could be extented in the subclasses.

When we use it is meaning how do we use interface and abstract classes.
Use interfaces when something will change frequently. If you need to change your design, make it an interface. However, you may have abstract classes that provide some default behavior. Abstract classes are excellent for it. It let you define some behaviors, they force your subclasses to provide others

Jeff
AnswerRe: Interface VS Abstract classes Pin
tker7-Aug-07 18:32
tker7-Aug-07 18:32 
QuestionTreeView nodes Tooltiptext Pin
unitecsoft7-Aug-07 12:57
unitecsoft7-Aug-07 12:57 
AnswerRe: TreeView nodes Tooltiptext Pin
Luc Pattyn7-Aug-07 14:25
sitebuilderLuc Pattyn7-Aug-07 14:25 
GeneralRe: TreeView nodes Tooltiptext Pin
unitecsoft7-Aug-07 21:31
unitecsoft7-Aug-07 21:31 
QuestionCan a base class access a derived class? Pin
eggie57-Aug-07 12:25
eggie57-Aug-07 12:25 
AnswerRe: Can a base class access a derived class? Pin
il_masacratore7-Aug-07 12:34
il_masacratore7-Aug-07 12:34 
AnswerRe: Can a base class access a derived class? Pin
Christian Graus7-Aug-07 12:44
protectorChristian Graus7-Aug-07 12:44 
GeneralRe: Can a base class access a derived class? Pin
PIEBALDconsult7-Aug-07 14:04
mvePIEBALDconsult7-Aug-07 14:04 
GeneralRe: Can a base class access a derived class? Pin
Christian Graus7-Aug-07 14:27
protectorChristian Graus7-Aug-07 14:27 
GeneralRe: Can a base class access a derived class? Pin
PIEBALDconsult8-Aug-07 6:11
mvePIEBALDconsult8-Aug-07 6:11 
QuestionNgen Pin
il_masacratore7-Aug-07 12:09
il_masacratore7-Aug-07 12:09 
AnswerRe: Ngen Pin
Judah Gabriel Himango7-Aug-07 13:06
sponsorJudah Gabriel Himango7-Aug-07 13:06 
QuestionReflection Example Pin
eggie57-Aug-07 11:03
eggie57-Aug-07 11:03 
AnswerRe: Reflection Example Pin
Farhan Noor Qureshi7-Aug-07 11:41
Farhan Noor Qureshi7-Aug-07 11:41 
GeneralRe: Reflection Example Pin
eggie57-Aug-07 20:29
eggie57-Aug-07 20:29 
GeneralRe: Reflection Example Pin
Nissim Salomon7-Aug-07 21:48
Nissim Salomon7-Aug-07 21:48 
GeneralRe: Reflection Example Pin
eggie514-Aug-07 17:56
eggie514-Aug-07 17:56 

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.