1- Is there any .Net function that does the same as sizeof operator in C#
and VB for managed objects and .Net Types?
2- I need the same thing (as in Question 1) for SqlDbType?!
(I know the size of Sql Types but i want to get it programmatically rather
than hard coding it)
Thanks
John - 02 Aug 2006 22:05 GMT
> 1- Is there any .Net function that does the same as sizeof operator in C#
> and VB for managed objects and .Net Types?
[quoted text clipped - 3 lines]
> than hard coding it)
> Thanks
Marshal.SizeOf() ?