I have a dictionary which I want to make it static. For suppose I have a dictionary which has some data.If I am accessing this dictionary by two processes at the same time then my data mismatches. How can I solve this problem.
for example In a dictionary I have key A- values 1 2 3 4 5 key B- values 6 7 8 9 10
When I am accessing this dictionary by two processes one reads data for A and other reads data for B. Then I have results sets where B contains A values.