Hi friends,
I want to know that what will be the memory representation of int x = 7 ?
Memory representation in C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jan 16, 2012, 1:26 PM EST
Jignesh TrivediRank #16 · 50.3K reputationPosted Jan 16, 2012, 6:20 PM EST
you can also mesure then using memory profilier.
http://memprofiler.com/
http://www.red-gate.com/products/dotnet-development/ants-memory-profiler/
refer below site for memory occupied by variable.
http://www.techotopia.com/index.php/C_Sharp_Variables_and_Constants
http://www.dotnetperls.com/string-memory
hope this help.