levyuk
Well-known member
Guys,
I know it's not possible to perform multiple inheritance in .net put I have heard there is a way to fake it. Could anyone give me a simple example. Say for insatance we have these classes
person
student(inherits person)
employee(inherits person)
studentemployee(inherits student & employee)
How could you do this in code. PS it's not home it just came up in a lecture on OO and I was wondering how it could be done in .net
Cheers
Levy
I know it's not possible to perform multiple inheritance in .net put I have heard there is a way to fake it. Could anyone give me a simple example. Say for insatance we have these classes
person
student(inherits person)
employee(inherits person)
studentemployee(inherits student & employee)
How could you do this in code. PS it's not home it just came up in a lecture on OO and I was wondering how it could be done in .net
Cheers
Levy