Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
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 
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 
Thanks CPallini,


Great link! Why you can always find good stuff, do you have any magic powers? Big Grin | :-D WTF | :WTF:

BTW, three further questions,

1.

"The .NET Framework defines built-in value types, such as System.Int32 and System.Boolean, which correspond and are identical to primitive data types used by programming languages."

"identical to primitive data types" means the same thing, just with a different name? For example, Int32 is the same as int, right?

2.

Only struct or Enum we defined are derived from ValueType/Enum, primitive types and the related equal types (e.g. Int32 to int do not derive from ValueType/Enum?

3.

"Value types do not have the overhead associated with storing an instance of a class and they do not require constructors." -- what is the overhead?


regards,
George
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 
GeneralRe: value type inheritance Pin
S. Senthil Kumar9-May-08 0:45
S. Senthil Kumar9-May-08 0:45 
GeneralRe: value type inheritance Pin
Roger Alsing8-May-08 0:43
Roger Alsing8-May-08 0:43 
GeneralRe: value type inheritance Pin
George_George8-May-08 3:03
George_George8-May-08 3:03 
GeneralRe: value type inheritance Pin
S. Senthil Kumar8-May-08 6:21
S. Senthil Kumar8-May-08 6:21 
GeneralRe: value type inheritance Pin
George_George8-May-08 21:49
George_George8-May-08 21:49 
GeneralRe: value type inheritance Pin
S. Senthil Kumar9-May-08 0:42
S. Senthil Kumar9-May-08 0:42 

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.