In C#, can I store multiple data types in an ArrayList? Like;
myArrayList.Add(false);
myArrayList.Add("abc");
myarrayList.Add(26);
myArrayList.Add(obj);
I know i can make a DataTable or a class for it.
But, please let me know: is this possible? And if so, what are it's De-merits of being a collection class?
objects" later. Static/strong typing is nice; use it - and to this I suggest usingList<T>instead of [the old]ArrayList.