|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Get size of instanceHi all,
I would like to know the size of a dataset I have loaded in memory to decide how to process some data in it, but it seems that I cannot use sizeof for that.... Any other function which I might have missed? Thanks Shaun Ofc, I am named some not "news.micro....."
Show quote "news.microsoft.com" <shaunnc.no.spam@holistic.com> wrote in message news:ORDB1dTSHHA.1208@TK2MSFTNGP03.phx.gbl... > Hi all, > > I would like to know the size of a dataset I have loaded in memory to > decide how to process some data in it, but it seems that I cannot use > sizeof for that.... > > Any other function which I might have missed? > > Thanks > Shaun > Hello news.microsoft.com,
n> I would like to know the size of a dataset I have loaded in memory to n> decide how to process some data in it, but it seems that I cannot use n> sizeof for that.... try profilers, like CLR Profiler n> Any other function which I might have missed? Marshal.SizeOf() --- WBR, Michael Nemtsev [C# MVP]. Blog: http://spaces.live.com/laflour team blog: http://devkids.blogspot.com/ "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo |
|||||||||||||||||||||||