[Mono-list] Reflection

Giuseppe Greco giuseppe.greco@agamura.com
Fri, 01 Aug 2003 17:52:29 +0200


Hi all,

sorry for my stupid question... but does anybody know how
can I get the size of a type without using sizeof()?

For example, sizeof(Int32) returns 4; how can I obtain the
same result using the Type class?

Thanks,
Gius_.

-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------