Click here to Skip to main content
15,914,070 members
Home / Discussions / C#
   

C#

 
AnswerRe: Trying to call a c++ function in C# code using PInvoke Pin
Colin Angus Mackay17-Jun-09 21:39
Colin Angus Mackay17-Jun-09 21:39 
GeneralRe: Trying to call a c++ function in C# code using PInvoke Pin
siddy1717-Jun-09 23:00
siddy1717-Jun-09 23:00 
GeneralRe: Trying to call a c++ function in C# code using PInvoke Pin
dan!sh 17-Jun-09 23:19
professional dan!sh 17-Jun-09 23:19 
QuestionUse interface to force inheritance? Pin
Tobias Norlund17-Jun-09 21:13
Tobias Norlund17-Jun-09 21:13 
AnswerRe: Use interface to force inheritance? Pin
Colin Angus Mackay17-Jun-09 21:35
Colin Angus Mackay17-Jun-09 21:35 
AnswerRe: Use interface to force inheritance? Pin
dan!sh 17-Jun-09 21:43
professional dan!sh 17-Jun-09 21:43 
GeneralRe: Use interface to force inheritance? Pin
Tobias Norlund18-Jun-09 1:40
Tobias Norlund18-Jun-09 1:40 
AnswerRe: Use interface to force inheritance? Pin
Mirko198017-Jun-09 22:01
Mirko198017-Jun-09 22:01 
Using an interface, you can only "force" a class to inherit only other interfaces.
If you want to force a class to inherit some other class, you can create, as others have said, an abstract class thats derives from the class you want to force inheritance. Keep in mind, though, that in c#, unlike interfaces, a class cannot directly inherit from multiple classe.
GeneralRe: Use interface to force inheritance? Pin
Tobias Norlund18-Jun-09 1:54
Tobias Norlund18-Jun-09 1:54 
QuestionMS-Access problem with Vista - C#.net Windows Application Pin
shw 23417-Jun-09 21:10
shw 23417-Jun-09 21:10 
AnswerRe: MS-Access problem with Vista - C#.net Windows Application Pin
EliottA18-Jun-09 3:30
EliottA18-Jun-09 3:30 
GeneralRe: MS-Access problem with Vista - C#.net Windows Application Pin
OriginalGriff18-Jun-09 3:43
mveOriginalGriff18-Jun-09 3:43 
QuestionOpen URL Pin
Nafiseh Salmani17-Jun-09 20:58
Nafiseh Salmani17-Jun-09 20:58 
AnswerRe: Open URL Pin
stancrm17-Jun-09 21:02
stancrm17-Jun-09 21:02 
QuestionDate format Pin
strings17-Jun-09 20:46
strings17-Jun-09 20:46 
AnswerRe: Date format Pin
Ashfield17-Jun-09 20:58
Ashfield17-Jun-09 20:58 
GeneralRe: Date format Pin
strings17-Jun-09 21:17
strings17-Jun-09 21:17 
GeneralRe: Date format Pin
stancrm17-Jun-09 21:56
stancrm17-Jun-09 21:56 
GeneralRe: Date format Pin
Tom Deketelaere17-Jun-09 22:46
professionalTom Deketelaere17-Jun-09 22:46 
GeneralRe: Date format Pin
Ashfield18-Jun-09 1:20
Ashfield18-Jun-09 1:20 
AnswerRe: Date format Pin
stancrm17-Jun-09 21:05
stancrm17-Jun-09 21:05 
QuestionQuery Regarding Open Source DotNet Based Desktop Sharing Apps like citrix?? Pin
Tridip Bhattacharjee17-Jun-09 20:44
professionalTridip Bhattacharjee17-Jun-09 20:44 
QuestionQuery Regarding Open Source DotNet Based Sql Database Synchronization?? Pin
Tridip Bhattacharjee17-Jun-09 20:42
professionalTridip Bhattacharjee17-Jun-09 20:42 
QuestionPrivew of Webcam Pin
S K Y17-Jun-09 20:07
S K Y17-Jun-09 20:07 
AnswerRe: Privew of Webcam Pin
Christian Graus17-Jun-09 21:52
protectorChristian Graus17-Jun-09 21:52 

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.