Hi there,
I've currently got a class similar to this:
public class myClass
{
**[XmlElement("mcp")]**
public int MyClassProperty;
}
This is to try and reduce the length of the property name for when the class is serialized in a web service call. However I want the class which references myClass via the web service to use MyClassProperty not mcp.
What is the best way to control the serialization to minimize the amount of data to transfer but retain the original property names?