c# - Size of an object at runtime -


how size(in bytes) of object or data structure @ runtime, know there profiler tools interested in doing @ runtime.

data structure list<object>

i trying find out how space entire collection taking , how space individual object taking, not there should, in theory, difference between two.

i think sizeof operator works value , unmanaged types; marshal.sizeof might give need.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -