Inside Arrays: Table 1: Compare Member Support for SZArrays and Multi-Dimensional Arrays.

Arrays implement ICollection, IEnumerable, and IList interfaces, but not all the members defined by those interface contracts are supported. SZArrays provide the most support.

SZArray Multi-Dimensional Array
ICollection
CopyTo Yes No
Count Yes Yes
IsSync Yes Yes
SyncRoot Yes Yes
IEnumerable
GetEnumerator Yes Yes
IList
Clear Yes Yes
Insert No No
Remove No No
RemoveAt No No
Add No No
Contains Yes No
IndexOf Yes No
IsFixedSize Yes Yes
IsReadOnly Yes Yes
Item Yes No
comments powered by Disqus
Most   Popular
Upcoming Events

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.