Storing string collection using Configuration Block

G

Guest

What is the easiest way to store a collection of strings using the MS
Configuration Block? I am using XML serializer. I tried having an ArrayList
as a property in the class I was serializing, but when it is read back it is
no longer an arraylist of string values. Any ideas?
 
G

Guest

I am using Micosofts Configuration block, which serializes objects to xml and
reads them back. When I serialize something that contains an array list and
then read it back like:

MyClass = (MyClass)ConfigurationManager.Read("section");

then MyClass.ArrayList no longer contains the string objects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top