Hi friends,
I want to know that how much memory will be taken a empty class and if we have the two member char, int inside a class then how much memory it will take please explain in brief?
How much memory taken by a class
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Jan 9, 2012, 1:43 PM EST
http://www.c-sharpcorner.com/Forums/Thread/155661/class-memory-in-C-Sharp.aspx
A class with no fields will still require a minimum of 1 byte (as a placeholder) plus overhead.