With reference to MSDN, It is stated that "You can set the lower bound of an Array, but the lower bound of an ArrayList is always zero"
If i declare an array a[10], the lower bound is always a[0].
Is this the lower bound specified there? If yes, How can we set the lower bound of an array, Since the index of an array always starts with a[0].
Or is the lower bound stated in the link is something different?
Note: I know the link point to the contents of .NET Framework 1.1 but still curious to know what exactly they have mentioned.
ArrayListclass is deprecated as of .NET 2.0. It should not be used. Instead,List<object>should be used if the list needs to contain objects of arbitrary types.