I have a static class.
this static class has a reference to 2 other static classes.
I want to be able to serialize/deserialize this class, so it serializes/deserializes ClassA and ClassB properties/values.
so...
ClassA
I would like the properties of these 2 classes to be serialized and deserialized.Code:private static SomeClassA theStaticClassA; private static SomeClassB theStaticClassB;
how can I do this? (.NET 2.0)
currently I am doing this
however nothing gets serialized even though there are properties and values set to those properties in this class.Code:XmlSerializer theXmlSerializer = new XmlSerializer(TheMouseManager.GetType()); StreamWriter theTextWriter = new StreamWriter(theApplicationConfigName); theXmlSerializer.Serialize(theTextWriter, TheMouseManager); theTextWriter.Close();



any chance of a regain? 
Reply With Quote
