Inside Arrays: Table 2: Generic Interfaces Versus Non-Generic Interfaces.
Generic interfaces IList(Of T) and ICollection(Of T) members compared to the non generic IList and ICollection interfaces. Note the significant difference between ICollection and ICollection(Of T).
| ICollection |
ICollection(Of T)
|
| CopyTo |
Add |
| Count |
Clear |
| IsSync |
Contains |
| SyncRoot |
CopyTo |
|
Count |
| IList |
Count |
| Add |
Remove |
| Clear |
|
| Contains |
IList(Of T)
|
| IndexOf |
IndexOf |
| Insert |
Insert |
| IsFixedSize |
Item |
| IsReadOnly |
RemoveAt |
| Item |
|
| Remove |
|
| RemoveAt |
|
|