I have the following dictionary:
Dictionary<int, List<TypeA>> dict
And have added objects:
dict.Add(1, new List<TypeA>{TypeA.1, TypeA.2, TypeA.3};
dict.Add(11, new List<TypeA>{TypeA.2, TypeA.6, TypeA.7};
dict.Add(23, new List<TypeA>{TypeA.3, TypeA.4, TypeA.9};
Using a single line of syntax (lambdas), how do I find any TypeA.3 in the entire dictionary?
This will be encapsulated into a method that returns a bool. True == match and false == no match. The above would return true.