Click here to Skip to main content
15,915,663 members
Home / Discussions / C#
   

C#

 
AnswerRe: use apider in asp.net Pin
Manfred Rudolf Bihy18-Aug-11 23:18
professionalManfred Rudolf Bihy18-Aug-11 23:18 
AnswerRe: use apider in asp.net Pin
Not Active19-Aug-11 2:16
mentorNot Active19-Aug-11 2:16 
Questionmulti inh Pin
apadana_198918-Aug-11 18:44
apadana_198918-Aug-11 18:44 
AnswerRe: multi inh Pin
unknowndentified1011118-Aug-11 18:49
unknowndentified1011118-Aug-11 18:49 
AnswerRe: multi inh Pin
Eddy Vluggen18-Aug-11 20:56
professionalEddy Vluggen18-Aug-11 20:56 
GeneralRe: multi inh Pin
BobJanova18-Aug-11 23:14
BobJanova18-Aug-11 23:14 
GeneralRe: multi inh Pin
Eddy Vluggen19-Aug-11 6:49
professionalEddy Vluggen19-Aug-11 6:49 
AnswerRe: multi inh Pin
Pete O'Hanlon18-Aug-11 23:49
mvePete O'Hanlon18-Aug-11 23:49 
What you are talking about isn't multiple inheritance, it's multiple implementation. Take the following interfaces
C#
public interface IMyInterface
{
  void DoSomething();
}

public interface IAnotherInterface
{
  void DoSomethingElse();
}
Now, you have a class that needs to implement both of these. To do these, you add them to the class definition and then you provide an implementation for the interface methods. It looks like this:
c#>public
There you go - you have now implemented two interfaces in the same class.
<div class="signature"><small><p>Forgive your enemies - it messes with their heads</p>
<p><a href="http://peteohanlon.wordpress.com">My blog</a> | <a href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=213147">My articles</a> | <a href="http://peteohanlon.wordpress.com/moxaml-power-toys/">MoXAML PowerToys</a> | <a href="http://www.molosoft.com/">Mole 2010 - debugging made easier</a> - my favourite utility</p></small></div>

QuestionMSMQ Pin
CodingYoshi18-Aug-11 18:07
CodingYoshi18-Aug-11 18:07 
AnswerRe: MSMQ Pin
Luc Pattyn18-Aug-11 18:20
sitebuilderLuc Pattyn18-Aug-11 18:20 
AnswerRe: MSMQ Pin
PIEBALDconsult18-Aug-11 18:28
mvePIEBALDconsult18-Aug-11 18:28 
GeneralRe: MSMQ Pin
Mycroft Holmes18-Aug-11 20:25
professionalMycroft Holmes18-Aug-11 20:25 
GeneralRe: MSMQ Pin
PIEBALDconsult19-Aug-11 2:59
mvePIEBALDconsult19-Aug-11 2:59 
GeneralRe: MSMQ Pin
Mycroft Holmes19-Aug-11 3:08
professionalMycroft Holmes19-Aug-11 3:08 
GeneralRe: MSMQ Pin
PIEBALDconsult19-Aug-11 15:18
mvePIEBALDconsult19-Aug-11 15:18 
AnswerRe: MSMQ Pin
RobCroll19-Aug-11 6:49
RobCroll19-Aug-11 6:49 
GeneralRe: MSMQ Pin
CodingYoshi19-Aug-11 11:52
CodingYoshi19-Aug-11 11:52 
GeneralRe: MSMQ Pin
RobCroll19-Aug-11 13:20
RobCroll19-Aug-11 13:20 
GeneralRe: MSMQ Pin
PIEBALDconsult19-Aug-11 15:33
mvePIEBALDconsult19-Aug-11 15:33 
GeneralRe: MSMQ Pin
RobCroll19-Aug-11 17:15
RobCroll19-Aug-11 17:15 
QuestionUse a static method / class? Pin
gmhanna18-Aug-11 8:29
gmhanna18-Aug-11 8:29 
AnswerRe: Use a static method / class? Pin
V.18-Aug-11 21:11
professionalV.18-Aug-11 21:11 
AnswerRe: Use a static method / class? Pin
Shameel18-Aug-11 22:49
professionalShameel18-Aug-11 22:49 
AnswerRe: Use a static method / class? Pin
BobJanova18-Aug-11 23:08
BobJanova18-Aug-11 23:08 
Questionplz brack my licence Pin
saqibali211918-Aug-11 8:11
saqibali211918-Aug-11 8:11 

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.