A Dictionary is a collection of KeyValuePairs and same is the List of KeyValuePair also.
then whats the diff?
In case of dictionary, it takes cares of the fact that keys are unique through the collection.
while a list of keyvaluepair can have repaeting keys in the collection. There may be scenarios where you may have such specific requirements. Use accordingly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment