How to have access to an element array ?

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
 
J

Jon Skeet [C# MVP]

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

C# newbie

Jon, I couldn't find any response under the one I sent on Saturday.

Thanks anyway
 
J

Jon Skeet [C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top