farseer,
In C#, you just do this:
class MyClass : MyBaseClass, IBehavior1, IBehavior2
The base class that you derive from always has to come first. Other
than that, it's that simple.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"farseer" <fa*****@optonline.net> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi,
is it possible to both extend a class and implement an interface in C#?
i am having a hard time figuring this out. i would like to do
something like this:
class MyClass extends MyBaseClass implements IBehavior1,IBehavior2
how can i do this?