I have a program which has to do a lot of lookup.
there are multiple threads running in parallel and all of these threads have to do a lookup on the same list of words.
Currently i'm storing the list of words in a dictionary in each of the threads.
Is there some way i can use a static class which contains the list of all the words so that all the threads can just call a method of this static class and the class returns the result based on lookup.
I want to to this cos i don't want multiple copies of the same data on my memory.