Collection And Data Classes To Avoid
We lists the obsolete non-generic collections (ArrayList, Hashtable, Queue, Stack) and data classes (DataSet, DataTable, DataRow) that cause pervasive boxing due to their internal object arrays, and presents generic collection classes from System.Collections.Generic and the DataReader class as the correct performant alternatives.