Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sizeof for refence type?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01021658
Message ID:
01021673
Views:
21
Victor,

There is an article on MSDN that discusses it. http://msdn.microsoft.com/msdnmag/issues/05/01/MemoryOptimization/default.aspx

But essentially "The size of a reference type is the size of its fields rounded up to the next 4-byte boundary, plus 8 bytes of overhead."
- Craig

"If you're not prepared to be wrong, you will never come up with anything original."
- Sir Ken Robinson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform