سؤال

I have the code:

IContainer container = ...;
IContainer copy = container;

But I think, it doesn't make a deep copy of this IContainer.

Does somebody know how to make a deep copy of an IContainer?

هل كانت مفيدة؟

المحلول

You should create new container, similar to original one, and then copy from one to another by IPacket as if you do normal read/write.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top