Answer the question
In order to leave comments, you need to log in
What is the name of such a structure?
There is a class, I want to add a static field with a dictionary of POCO objects, because of the rather complex code, I don’t want to make it a singleton. How to actually call this cadavre?
Answer the question
In order to leave comments, you need to log in
Can you call it a cache?
In general, I don’t see any problems in making it an instance - you just need to pass it to the constructors of all classes that depend on it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question