How can Class2 be an array? It's a Class.

Skinny this down to a very simple example and maybe we'll be able to see where you have gone wrong.

It would not hurt a bit to STOP. Then go read the...