public void saveToDBThread() { if (imageCacheNew.Count == 0) return; Thread thread = new Thread(saveToDB); thread.Start(); }