Collection<T> Properties
.NET Framework 4.5
The Collection<T> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Count | Gets the number of elements actually contained in the Collection<T>. |
|
Item | Gets or sets the element at the specified index. |
|
Items | Gets a IList<T> wrapper around the Collection<T>. |
| Name | Description | |
|---|---|---|
|
ICollection<T>.IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |
|
ICollection.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
|
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. |
|
IList.IsFixedSize | Gets a value indicating whether the IList has a fixed size. |
|
IList.IsReadOnly | Gets a value indicating whether the IList is read-only. |
|
IList.Item | Gets or sets the element at the specified index. |