Possible Duplicate:
How to get object size in memory?
I would like to get the size of an object of unknown type, I think about sizeof but it is used only for concrete data types, i.e sizeof(char); and also about Marshal.Sizeof(object) but this informs that the size returned is not true because the object is marshaled before its size is calculated.