E
Esmail Bonakdarian
Hello,
I am relatively new to C# but like it.
I have run into a problem to which I haven't been able to find
a solution despite looking.
I have an ArrayList that contains several RichTextBoxes (via Add())
I am trying to create a second ArrayList with this information,
but I want to make a DEEP copy instead of a shallow one, so that
this information is still around after the first ArrayList goes away.
I haven't been able to do this. I tried serializing/deserializing
the arraylist, but apparently RichTextBox isn't serializable.
Can anyone give me an idea how I can do a deep copy of this arraylist?
A concrete example would be even better ..
thanks!
Esmail
I am relatively new to C# but like it.
I have run into a problem to which I haven't been able to find
a solution despite looking.
I have an ArrayList that contains several RichTextBoxes (via Add())
I am trying to create a second ArrayList with this information,
but I want to make a DEEP copy instead of a shallow one, so that
this information is still around after the first ArrayList goes away.
I haven't been able to do this. I tried serializing/deserializing
the arraylist, but apparently RichTextBox isn't serializable.
Can anyone give me an idea how I can do a deep copy of this arraylist?
A concrete example would be even better ..
thanks!
Esmail