T
Trevor Balcom
I have a class which has a member variable of the type System.ArrayList.
I plan on having the ArrayList serialize/deserialize itself to/from XML. I
have worked out the code to do this and have the ArrayList is currently
deserializing in the constructor. When is the correct time to serialize the
ArrayList to XML? In C++ I would do this in the destructor. I see C# has a
destructor, but I am unsure about all of this IDisposable, Finalize, Dispose
and such. When would I perform cleanup code? Could someone explain these
terms to me ? Are there any source examples on MSDN to explain this ?
I plan on having the ArrayList serialize/deserialize itself to/from XML. I
have worked out the code to do this and have the ArrayList is currently
deserializing in the constructor. When is the correct time to serialize the
ArrayList to XML? In C++ I would do this in the destructor. I see C# has a
destructor, but I am unsure about all of this IDisposable, Finalize, Dispose
and such. When would I perform cleanup code? Could someone explain these
terms to me ? Are there any source examples on MSDN to explain this ?