Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sizeof for refence type?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01021658
Message ID:
01021673
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform