ArrayList members = new ArrayList();
object[] values= members.ToArray()
(ClassMember[])values//错误
ClassMember[] values=members.ToArray(typeof(ClassMermber)) as ClassMember[]//真确
ArrayList members = new ArrayList();
object[] values= members.ToArray()
(ClassMember[])values//错误
ClassMember[] values=members.ToArray(typeof(ClassMermber)) as ClassMember[]//真确