Professional Documents
Culture Documents
Generics
XP 254
Lists and BitArray
Ámbar Rocío
2/3 Caraballo R.
ambarcaraballo.r@gmail.com
The C# generic collection SortedList<K, V> class requires all element key/value pairs to be of the
same type K, V. Duplicate keys are not permitted, which ensures that every key/value pair is
unique.
Try It Yourself
Tap Try It Yourself and modify the code to remove an element from the SortedList that
doesn't belong to the list.
50 COMMENTS
Q&A