Is there a way to know the managed size of a type parameter at runtime
? What I want to do is something like:

int typeSize = sizeof(T); // pseudo-code

Buffer.BlockCopy(source, sourceIndex * typeSize, destination,
destinationIndex * typeSize, length * typeSize)

Thanks,

-- 
Sébastien
www.sebastienlorion.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to