I have a variable in the session; h开发者_运维知识库ow do I find out its size?
Thanks
int mySizeize = sizeof(myVariable);
will not work for reference type
or Marshal.SizeOf Method (Object)
http://msdn.microsoft.com/en-us/library/y3ybkfb3.aspx
I have a variable in the session; h开发者_运维知识库ow do I find out its size?
Thanks
int mySizeize = sizeof(myVariable);
will not work for reference type
or Marshal.SizeOf Method (Object)
http://msdn.microsoft.com/en-us/library/y3ybkfb3.aspx
精彩评论