George George

George George

  • NA
  • 778
  • 0

value type inheritance

May 8 2008 5:12 AM

Hello everyone,


When dealing with value types, I met with two conflicting points,

1. We can not inherit one value type from another, for example, we can not make a struct inherit from another struct; -- I think it means there is no inheritance or derivation for value types.

2. All value types are inherits from ValueType, and ValueType is inherits from Object, seems value types could have inheritance or derivation?

How do you understand the two conflicting points? :-)


thanks in advance,
George


Answers (4)