C
Cor Ligthert
Bruce,
In my opinion the best message in this thread.
Compliments

Cor
In my opinion the best message in this thread.
Compliments

Cor
The size of a DateTime is a single Long. Don't confuse the size of variousThe DateTime struct, if you look at all the "long" members, its
instance size would be more than 16 bytes.
Jeffrey Palermo said:You are right. It only has one instance field, a long. I didn't look
closely enough. All the others are static or constants.
I did find System.Diagnostics.CounterSample that has 7 long members (8
bytes per field). Am I right about that?
So this may be one time where the 16 bytes is exceeded, but I can see
the reason to keep the instance size as small as possible.
Any ideas?