-
Notifications
You must be signed in to change notification settings - Fork 31
Collections
Ian Johnson edited this page Jan 29, 2014
·
15 revisions
Below is a list of collections that can imported and what class implements them
- IList<T> - implemented using List<T>
- ICollection<T> - implemented using List<T>
- IEnumerable<T> - implemented using List<T>
- ReadOnlyCollection<T> - implemented using ReadOnlyCollection<T>
- IReadOnlyList<T> - implemented using ReadOnlyCollection<T>
- IReadOnlyCollection<T> - implemented using ReadOnlyCollection<T>
- T[ ] - an array will be created with a length matching the number of imports returned
- Custom Collections - any class that implements ICollection<T> can be imported, this includes List<Tgt; and ObservableCollection<T>