110,539
社区成员
发帖
与我相关
我的任务
分享
[DataContract]
public class User: BindableBase
{
[DataMember]
public string UserName;
[DataMember]
public int Age;
}
public class User: BindableBase
{
private string username;
public string UserName
{
get { return username; }
set { SetProperty(ref username, value); }
}
private int age;
public int Age
{
get { return age; }
set { SetProperty(ref age, value); }
}
}