By Volume4
via dotnet.dzone.com
Published: Jul 03 2008 / 23:09
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.
Add your comment
Voters For This Link (12)
-
Volume4 -
alashcraft -
matt -
bloid -
ARGibson -
ugur.myopenid.com -
derrel -
amrlafi -
vandelay -
mswatcher -
wpq0 -
MKnopfler