Hi There,

Is struct inheritance allowed?

Josh

Re: Struct Inheritance by Jon

Jon
Fri Mar 04 17:27:29 CST 2005

Joshua Ellul <jellul@onvol.net> wrote:
> Is struct inheritance allowed?

No. All value types (other than enums, which have similar but separate
rules) derive from System.ValueType (sort of - the value types
themselves don't derive from anything, but the associated boxed type
derives from System.ValueType) and no type can derive from either a
value type or its boxed type.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Re: Struct Inheritance by Anubhav

Anubhav
Sun Mar 06 21:44:12 CST 2005

not allowed.
"Joshua Ellul" <jellul@onvol.net> wrote in message
news:%23pht28QIFHA.1996@TK2MSFTNGP12.phx.gbl...
> Hi There,
>
> Is struct inheritance allowed?
>
> Josh
>