Ok, here\'s the deal: I have code that works in C#, but when I call it from PowerShell, it fails.I can\'t quite figure it out, but it\'s something specific to PowerShell. Here\'s the relevant code cal
Is there any cost/drawback (apart from typing too much) to adorning a class with System.Runtime.Serialization attributes (like [DataContract]) such that it can be used locally as a direct reference to
I\'m having a problem where i use the XAML serializer / deserializer for a configuration type file that i have.The problem that i\'m getting, is that the XAML serializer is returning objects from the
I am experimenting with JavaScriptSerializer to deserialize some JSON in C#, and have a couple of questions regarding the use of DataMember.
I\'m trying to use the System.Xml.Serialization.XmlSerializer to serialize a dynamically loaded (and compiled class). If I build the class in question into t开发者_开发百科he main assembly, everything
I am having following peice of code ,where in i am trying to serialize and deserailize object ofStringResource class.
I\'ve used the default .NET serialization for a class with a System.Drawing.Color member.The code is now in use by people, and I need to add an extra member to the class, but still deserialize older v
I have a base class with a property called Name, which has an XmlText attribute. When an inherited class is serialized I get an exception saying:
I have deserialized an xml file into a C# object and have an \"object\" containing a specific node I have selected from this file.
I am working on a project and I need to save user configuration. The configuration is a set of Jchechboxes I need to store their state (true, false). Which do you think is the better way of saving it,