Sunday 17 July 2016

List vs Dictionary vs Sets in Dot NET

List

Any index based collection are known as List and there index starts with 0

Dictionary

Dictionaries will let you use any type you want as the key, integers, dates, strings.

Sets

The focus is not on direct access to an element, but treating it as a single group and performing operations on the collection as a whole.

No comments:

Post a Comment