Why You Should Avoid ArrayList in Modern C#
ArrayList is an obsolete non-generic collection from pre-2005 .NET that stores everything as object. Using ArrayList causes performance issues due to boxing/unboxing of value types, lacks compile-time type safety, leading to runtime exceptions. List<T> and other generic collections offer superior performance, type safety, and developer experience.