What is the use of DataMember in WCF? Below is the code of Declaring DataMember.Where i Can use (or) call this datamember
in WCF Programming.
Can you give a simple example of using DataMember...
public class MyDataContract
public string name = "myname";
[DataMember(IsRequired = true)]
public int age;