Behaviour Map Element name to Property

suggest change
<Foo>
    <Dog/>
</Foo>
public class Foo
{
    // Using XmlElement
    [XmlElement(Name="Dog")]
    public Animal Cat { get; set; }
}

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents