Click here to Skip to main content
15,911,317 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML message generation Pin
George_George8-May-08 4:20
George_George8-May-08 4:20 
AnswerRe: XML message generation Pin
N a v a n e e t h7-May-08 23:50
N a v a n e e t h7-May-08 23:50 
GeneralRe: XML message generation Pin
George_George7-May-08 23:55
George_George7-May-08 23:55 
AnswerRe: XML message generation Pin
vytheese8-May-08 0:39
professionalvytheese8-May-08 0:39 
GeneralRe: XML message generation Pin
George_George8-May-08 3:00
George_George8-May-08 3:00 
GeneralRe: XML message generation Pin
vytheese8-May-08 18:11
professionalvytheese8-May-08 18:11 
GeneralRe: XML message generation Pin
George_George8-May-08 22:01
George_George8-May-08 22:01 
Questionvalue type inheritance Pin
George_George7-May-08 23:10
George_George7-May-08 23:10 
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? Smile | :)


thanks in advance,
George
AnswerRe: value type inheritance Pin
Roger Alsing7-May-08 23:59
Roger Alsing7-May-08 23:59 
GeneralRe: value type inheritance Pin
George_George8-May-08 0:04
George_George8-May-08 0:04 
GeneralRe: value type inheritance Pin
CPallini8-May-08 0:40
mveCPallini8-May-08 0:40 
GeneralRe: value type inheritance Pin
George_George8-May-08 3:04
George_George8-May-08 3:04 
GeneralRe: value type inheritance Pin
CPallini8-May-08 3:14
mveCPallini8-May-08 3:14 
GeneralRe: value type inheritance Pin
George_George8-May-08 3:32
George_George8-May-08 3:32 
GeneralRe: value type inheritance Pin
N a v a n e e t h8-May-08 3:41
N a v a n e e t h8-May-08 3:41 
GeneralRe: value type inheritance Pin
George_George8-May-08 3:48
George_George8-May-08 3:48 
GeneralRe: value type inheritance Pin
N a v a n e e t h8-May-08 3:59
N a v a n e e t h8-May-08 3:59 
GeneralRe: value type inheritance Pin
George_George8-May-08 4:17
George_George8-May-08 4:17 
GeneralRe: value type inheritance Pin
N a v a n e e t h8-May-08 4:45
N a v a n e e t h8-May-08 4:45 
GeneralRe: value type inheritance Pin
George_George8-May-08 21:38
George_George8-May-08 21:38 
GeneralRe: value type inheritance Pin
S. Senthil Kumar8-May-08 6:17
S. Senthil Kumar8-May-08 6:17 
GeneralRe: value type inheritance Pin
CPallini8-May-08 4:03
mveCPallini8-May-08 4:03 
GeneralRe: value type inheritance Pin
George_George8-May-08 4:19
George_George8-May-08 4:19 
GeneralRe: value type inheritance Pin
S. Senthil Kumar8-May-08 6:24
S. Senthil Kumar8-May-08 6:24 
GeneralRe: value type inheritance Pin
George_George8-May-08 21:40
George_George8-May-08 21:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.