-1

I would like to serialize this object Dictionary>> to xml and deserialise again later in my asp.net application. Does someone know how this can be done?

Thanks in advance

M

Meelfan Bmfp
  • 605
  • 1
  • 7
  • 30
  • What type of object is there in the `Dictionary<>`? – Mario S May 03 '12 at 16:08
  • 1
    This has been asked a zillion of times. Look at: http://stackoverflow.com/questions/1299071/serializing-net-dictionary or http://stackoverflow.com/questions/4242260/how-to-serialize-deserialize-a-dictionary-variable –  May 03 '12 at 16:20

2 Answers2

1

Here is an implementation of the dictionary class that can be serialized to xml and back

Community
  • 1
  • 1
SwDevMan81
  • 48,814
  • 22
  • 151
  • 184
0

May be this tutorial helps you. http://www.switchonthecode.com/tutorials/csharp-tutorial-xml-serialization