开发者

Session - memory size of objects

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜