I just want any value where the id equals a “zj”
Dictionary<string,string> z = dm.UpdateAndReturnIdol(User, id, v).where(keys.equals("zj"));
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the return type is
Dictionary<string, string>then you can just look up the value, e.g.or if you don’t know whether there will be an entry:
There’s no need to use
Wherehere – the whole point of a dictionary is that you can look up by key efficiently… and there can only be one value per key, so there’s no need to get a sequence of values.