For Part 2, click here.(Link will be updated shortly once the blog post is published, Enter your email address in the right section above quick links area, to follow my blog and receive notifications of new posts by email.)
In the part 1 of this post, let us discuss about Dictionary class in C#. There are lots of lots of content available explaining about this topic on the internet when you Google it, but this is my two cents of understanding on this topic.
A dictionary is a collection of <key, value=””> pairs. Dictionary class is present in System.Collections.Generic namespace. When a Dictionary is created, we need to specify the data type for Key and Value. It provides fast lookups for values using keys, last but not the least keys in the dictionary must be unique.
Let us try to understand this concept with this example. First let us create…
View original post 266 more words