Click here to Skip to main content
15,917,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error on ISynchronizeInvoke casting Pin
Leslie Sanford8-Aug-07 4:52
Leslie Sanford8-Aug-07 4:52 
QuestionHelp about Office word In C# Pin
kcynic7-Aug-07 15:31
kcynic7-Aug-07 15:31 
AnswerRe: Help about Office word In C# Pin
tker7-Aug-07 18:16
tker7-Aug-07 18:16 
GeneralRe: Help about Office word In C# Pin
kcynic7-Aug-07 19:16
kcynic7-Aug-07 19:16 
GeneralRe: Help about Office word In C# Pin
tker7-Aug-07 20:12
tker7-Aug-07 20:12 
GeneralRe: Help about Office word In C# Pin
kcynic7-Aug-07 21:33
kcynic7-Aug-07 21:33 
GeneralRe: Help about Office word In C# Pin
tker8-Aug-07 16:31
tker8-Aug-07 16:31 
AnswerRe: Help about Office word In C# Pin
MarkB7777-Aug-07 18:53
MarkB7777-Aug-07 18:53 
GeneralRe: Help about Office word In C# Pin
kcynic7-Aug-07 19:18
kcynic7-Aug-07 19:18 
QuestionGetting reflection permissions with ReflectionPermissionAttribute Pin
Luke Murray7-Aug-07 15:23
Luke Murray7-Aug-07 15:23 
QuestionConsole component Pin
noon427-Aug-07 14:31
noon427-Aug-07 14:31 
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 

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.