In wcf, what is the difference between applying the DataMember attribute on a property
DataMember
private int m_SomeValue; [DataMember] public int SomeVal
Personally I would just use the property and completely removed the member variable all together. i.e.
[DataMember] public int SomeValue { get; set; }
The property will inexplicably create a member variable behind the scenes.