Error!
Success!

C# - Singleton Pattern vs. Static Classes

0
kicks

C# - Singleton Pattern vs. Static Classes  (Unpublished)

Problem: Store some common data in a singleton or static class about your program in an object array, which you store in a class. It saves state between usages and stores some caches, and must be initialized only once and shared in many code locations. Making a new object each time would be expensive.


Kicked By:
Drop Kicked By: