[Mono-list] references to individual keys

edward.harvey.mono edward.harvey.mono at clevertrove.com
Wed Apr 17 20:40:25 UTC 2013


> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of edward.harvey.mono
> 
> But I want TryGetKey, which will actually return the *key* that has
> equality to the key I'm searching for.  

Actually, I think I managed to find a solution for this.  As long as I set the child node "name" string object variable at the time of entering the child into the dictionary, then the dictionary must be either referencing the same object in its keys, or the dictionary made a copy and there's no way I can do any better than this result.



More information about the Mono-list mailing list