Click here to Skip to main content
16,007,885 members
Home / Discussions / C#
   

C#

 
GeneralRe: Launch the Internet Explorer... Pin
Nnamdi Onyeyiri17-Aug-02 7:16
Nnamdi Onyeyiri17-Aug-02 7:16 
GeneralMySQL databases Pin
Nnamdi Onyeyiri17-Aug-02 6:53
Nnamdi Onyeyiri17-Aug-02 6:53 
GeneralRe: MySQL databases Pin
Nathan Blomquist17-Aug-02 7:25
Nathan Blomquist17-Aug-02 7:25 
GeneralRe: MySQL databases Pin
Anonymous17-Aug-02 9:32
Anonymous17-Aug-02 9:32 
GeneralInheritance question Pin
leppie17-Aug-02 3:33
leppie17-Aug-02 3:33 
GeneralRe: Inheritance question Pin
James T. Johnson17-Aug-02 4:04
James T. Johnson17-Aug-02 4:04 
GeneralRe: Inheritance question Pin
leppie17-Aug-02 4:44
leppie17-Aug-02 4:44 
GeneralRe: Inheritance question Pin
James T. Johnson17-Aug-02 5:38
James T. Johnson17-Aug-02 5:38 
You could fake it like Eiffel does Smile | :)

given three classes A, B, and C; where A and B are unrelated but C inherits from A and B the Eiffel compiler will do something like this.

interface IA<br />
{<br />
  ... methods, properties, etc of A ...<br />
}<br />
<br />
interface IB <br />
{<br />
  ... methods, properties, etc of C ...<br />
}<br />
<br />
class C : object, IA, IB<br />
{<br />
  private A a;<br />
  private B b;<br />
<br />
  public void MethodOfA()<br />
  {<br />
    a.MethodOfA();<br />
  }<br />
 <br />
  // useful when you specifically request a class in terms of A<br />
  // and B has the same implementation.<br />
  void IA.MethodOfA()<br />
  {<br />
    a.MethodOfA();<br />
  }<br />
 <br />
  ....<br />
}


James
"And we are all men; apart from the females." - Colin Davies
GeneralRe: Inheritance question Pin
leppie17-Aug-02 6:02
leppie17-Aug-02 6:02 
GeneralRe: Inheritance question Pin
James T. Johnson17-Aug-02 6:20
James T. Johnson17-Aug-02 6:20 
GeneralRe: Inheritance question Pin
Stephane Rodriguez.17-Aug-02 7:36
Stephane Rodriguez.17-Aug-02 7:36 
GeneralRe: Inheritance question Pin
Kevin McFarlane18-Aug-02 10:31
Kevin McFarlane18-Aug-02 10:31 
GeneralRe: Inheritance question Pin
leppie18-Aug-02 23:32
leppie18-Aug-02 23:32 
GeneralDNS query - help Pin
ace_mim16-Aug-02 23:20
ace_mim16-Aug-02 23:20 
GeneralRe: DNS query - help Pin
James T. Johnson17-Aug-02 2:08
James T. Johnson17-Aug-02 2:08 
GeneralRe: DNS query - help Pin
Richard Deeming19-Aug-02 1:14
mveRichard Deeming19-Aug-02 1:14 
Generalforcibly unloading a .NET dll Pin
Nish Nishant16-Aug-02 20:27
sitebuilderNish Nishant16-Aug-02 20:27 
GeneralRe: forcibly unloading a .NET dll Pin
James T. Johnson17-Aug-02 1:23
James T. Johnson17-Aug-02 1:23 
GeneralRe: forcibly unloading a .NET dll Pin
Nish Nishant17-Aug-02 9:52
sitebuilderNish Nishant17-Aug-02 9:52 
GeneralWindows Message Handling Pin
ke5in16-Aug-02 17:42
ke5in16-Aug-02 17:42 
GeneralRe: Windows Message Handling Pin
leppie16-Aug-02 18:43
leppie16-Aug-02 18:43 
GeneralRe: Windows Message Handling Pin
James T. Johnson17-Aug-02 1:43
James T. Johnson17-Aug-02 1:43 
GeneralRe: Windows Message Handling Pin
James T. Johnson20-Aug-02 6:14
James T. Johnson20-Aug-02 6:14 
GeneralCreating Wizard in C# Pin
cloudno916-Aug-02 17:06
cloudno916-Aug-02 17:06 
GeneralRe: Creating Wizard in C# Pin
Anonymous16-Aug-02 17:43
Anonymous16-Aug-02 17:43 

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.