//单例类举例
public class PersonManager
{
private static PersonManager instance;
public static PersonManager Instance
{
get
{
if (instance == null)
{
instance = new PersonManager();
}
return instance;
}
}
public Person[] persons;
}