Quantcast
Viewing all articles
Browse latest Browse all 9

Initialization of Dictionary – Dictionary initializer in C# 6.0

Initialization of Dictionary is not a new thing. You can easily initialize a Dictionary Object using a Collection Initializer, which is there since C# 3.0. Collection initializer adds one of the  parameter as Key and another as  Value corresponding to the assigned Key. C# 6.0 adds a new ability to use the Key / indexer [...]

Viewing all articles
Browse latest Browse all 9

Trending Articles