关于关键字值集合的问题!
class person
{
private string name;
private int age;
public string Name
{
get
{
return name;
}
set
{
name = value;
}
}
public int Age
{
get
{
return age;
}
set
{
age = value;
}
}
public person()
{
}
public person(string myPerson)
{
name = myPerson;
}
}
class people : DictionaryBase
{
public void Add(string newID, person newPerson)
{
Dictionary.Add(newID, newPerson);
}
public voi