title: Find size of object instance in bytes in c#
body: <p>For any arbitrary instance (collections of different objects, compositions, single objects, etc)</p>
  
  <p>How can I determine its size in bytes?</p>
  
  <p>(I've currently got a collection of various objects and i'm trying to determine the aggregated size of it)</p>
  
  <p>EDIT:  Has someone written an extension method for Object that could do this?  That'd be pretty neat imo.</p>