我用Hashtable存儲一組Key,Value;然后我想修改Value值,結果發現不能修改,是只讀的。怎么才能修改或者用別的什么東西代替?
        foreach (DictionaryEntry de in MidFaultCurrent.FaultHash)
                {
                    Object Code = de.Key;
                    MidFaultCurrent.FaultHash[Code] = "fault";
                    //或者de.Vaule="";都是報錯
                    
                 }