I have to store two key one value in dictionary. So that i am using like this.
Dictionary<int, Dictionary<int, int>> dicThreatPurgeSummary = new Dictionary<int,Dictionary<int,int>>();
I have added key, key and value.
Dictionary<int, int> innerdict = new Dictionary<int,int>();
innerdict.Add(Month, Count);
dicThreatPurgeSummary.Add(Group, innerdict);
i am able to view value like this
int a = dicThreatPurgeSummary[Group][Month];
I need to update the value for dicThreatPurgeSummary[Group][Month] if it already exists. Please help me to find out this.
This should work