The following questions will allow you to consolidate the information contained in this chapter:
- Provide an example why using a singleton would not be a good mechanism for limiting access to a shared resource.
- Is the following statement true? Why or why not? ConcurrentDictionary prevents items in the collection from being updated by more than one thread at a time.
- What is a race condition and why should it be avoided?
- How does the factory pattern help to simplify code?
- Do .NET Core applications require third-party IoC containers?