title: sizeof of Marshal, what else?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/605621/how-to-get-object-size-in-memory">How to get object size in memory?</a>  </p>
  </blockquote>
  
  
  
  <p>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. </p>