Shawn Hargreaves:Replace ArrayList with List<Behavior> (or List<object> if you really want the exact same loosely typed semantics as ArrayList).
Since generics were added in the 2.0 CLR, there is never a good reason to use ArrayList any more. It is only kept around for backward compatibility with older code, and should not be used when writing new code.
Thanks for response, I know ArrayList is obsolete. However I want to do something with List<T> that seems to only work with ArrayList which is using the XML Seriaizer with it. Making sure derived classes' properties are included in the xml file as well. I'd like to know how to do that with List<T>.
Leave luck to heaven.