Boris,
There are two ways you can do this. The first is to use an instance of
the SoapFormatter class to create a SOAP representation of the arraylist and
its contents. Assuming that all of the items in the ArrayList support
serialization, this should work.
The second way is to use an instance of the XmlSerializer class. This
will produce "cleaner" (a relative term) XML, but it only serializes the
public properties of the instance. If the class isn't designed properly,
then this can cause some problems.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Boris" <bo***@portal.co.yu> wrote in message
news:eh****************@tk2msftngp13.phx.gbl...
I'm writting a console application and i want to store my ArrayList of
objects into XML document. Is there any way i can do that ?
Greets.