Hi,
thanks you Tomas.
But I meant with this question, what will be if the variable will go out of
scope?
I have a error, that if I load regestered assembly dynamically from an array
and then use XML Serilaization it throws the exception, where if I use
LoadFrom it is not. So my thougth is, that it need assembly, where the
buffer is allready destructed.
"Tomas Restrepo (MVP)" <to****@mvps.org> schrieb im Newsbeitrag
news:%2****************@TK2MSFTNGP14.phx.gbl...
Boni,
If I dynamically load assembly into the memory by Load(byte[]) how long
do I have to preserve the array valid? Can it be destructed just after
the load call?
You're in a GC world, meaning it's not your problem anymore :)
That said, I'd probably just leave it alone :)
--
Tomas Restrepo
to****@mvps.org