I have a dictionary that looks something like this
test1 : 123
test2 : 456
another1 : abc
test3 : 789
another2 : def
How can I get a count of all the items that begin with “test” in c# framework 3.5?
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.
You can use LINQ extensions on a dictionary so you are able to do: