You’ll be able to use the LINQ extension methods directly with List<object>
, but not with ArrayList
, unless you inject a Cast<object>()
/ OfType<object>
(thanks to IEnumerable<object>
vs IEnumerable
). That’s worth quite a bit, even if you don’t need type safety etc.
The speed will be about the same; structs will still be boxed, etc – so there isn’t much else to tell them apart. Except that I tend to see ArrayList
as “oops, somebody is writing legacy code again…” ;-p