How to have access to an element array ?

  • Thread starter Thread starter C# newbie
  • Start date Start date
C

C# newbie

Hi,

How can I grab to a specific element value located into a string dicitionary
?
Let's say we have an string dictionary which is full and on a specific row
and need to retrieve one of the items.
I found "ContainsKey" method but when I write (within a foreach loop):

if (myStringDicArray.ContainsKey("ControlID"))

it's just returns true or false! I need to return the value in that specific
element.

Thanks in advance
Newbie
 
C# newbie said:
How can I grab to a specific element value located into a string dicitionary
?

See my response to your identical question from Saturday.
 
C# newbie said:
Jon, I couldn't find any response under the one I sent on Saturday.

Can you see your actual post from Saturday? Can you see other posts
from Saturday?

Before asking a question again, I'd always suggest checking on
groups.google.com for answers you may have missed. In this case a
simple subject search for "about StringDictionary" finds exactly one
thread, which is the one you posted, including my response.
 
Back
Top