title: WCF: DataMember attribute on property vs. member
body: <p>In wcf, what is the difference between applying the <code>DataMember</code> attribute on a property  </p>
  
  <pre><code>private int m_SomeValue;
  
  [DataMember]  
  public int SomeValue {
    get {...}
    set {...}
  }
  </code></pre>
  
  <p>instead of a member variable  </p>
  
  <pre><code>[DataMember]  
  private int m_SomeValue;
  
  public int SomeValue {
    get {...}
    set {...}
  }
  </code></pre>
  
  <p>?</p>