日期:2014-05-17 浏览次数:21029 次
public class Student
{
private string name;
public string Name
{
get { return name; }
set { name = value; }
}
private string value;
public string Value
{
get { return this.value; }
set { this.value = value; }
}
}
List<Student> list = new List<Student>();
Student stu = new Student();
stu.Name = "zhangsan";