Dictionary/Hashmap......... what on earth is happening?
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2010-06-02T05:54:44Z
Indexed on
2010/06/02
6:03 UTC
Read the original article
Hit count: 183
dictionary
|hashmap
else if (!registryData.ContainsKey(kyInvolved))
{
keyInvolved = new RegistryKy(kyInvolved);
lock (registryDataLock)
{
registryData.Add(kyInvolved, keyInvolved);
}
processInvolved = new Proces(procInvolved);
keyInvolved.addProcessToDict(processInvolved);
}
kyInvolved is a String which represents a registry key. keyInvolved is the actual registry key object.
I'm being told that im adding a key which already exists, yet i have already checked to see whether it is in there or not???
© Stack Overflow or respective owner