private class User
{
public string Name { get; set; }
public int Age { get; set; }
public int status { get; set; }
}
{
public string Name { get; set; }
public int Age { get; set; }
public int status { get; set; }
}
List userList = new List();
userList.Select(usr => { usr.status = 1; return usr;} ) .ToList();


0 comments:
Post a Comment
Note: only a member of this blog may post a comment.