I have a static Cache that at a set time updates a generic list of Objects from a database.
It is just a simple static List:
private static List _myObject;
public List<myObject> FillMyObject()
{
if(_myObject == null || myTimer)
_myObject = getfromDataBase();
}
I have 2 methods to update my object called UpdateMyObject and RemoveAnEntryFromMyObject.
Everything seems to run fine but everyone once and a while I get a mass amount of errors. Then it goes away and seems fine again. Does anyone know what is going on?