Browse by Tags
Sorry, but there are no more tags available to filter with.
-
TIPS-在多執行緒環境更新共用資料物件
-
有一段小時候寫的程式,運行多年無恙,卻在今天發生爆炸! 看似正常的更新Dictationary邏輯,卻在Dictoinary.Add時冒出"Index was outside the bounds of the array."錯誤: if (Cache.ContainsKey(key)) Cache.Remove(key); Cache.Add(key, someData); Cache的型別為Dictionary<string, string>,程式先檢查該Key值是否存在...