Yes, the Dictionary should work. I didn't understand why it needed a KeyValuePair as parameter when calling Contains, but now i see should use:
I will try this, thanks!vb.net Code:
If Not d.Keys.Contains("one") Then '... End If
EDIT: Exacly what you said in your last post. And as an alternative: d.ContainsKey("one")
Thanks.




Reply With Quote