
August 30th, 2003, 06:51 PM
|
 |
Contributing User
|
|
Join Date: Sep 2002
Posts: 133
Time spent in forums: 38 m 49 sec
Reputation Power: 7
|
|
C# Basic Interface question
I'm just starting to learn about interfaces in C# and I have a question. From what I read, the technique of multiple inheritance can be emulated through interfaces. I know how to create an interface. What I'm having trouble with is this. Let's say I have two different classes with methods already defined in them. I use those two different classes from time to time and they work well. They are base classes and are not being inherited from anywhere else (though they could be). Now I want to create another new class, and inherit both of those methods in this new class. Can that be done some how through interfaces? Thanks!
|