I have the following code:
public class A
{
string Name {get; set};
string anotherProperty {get; set};
Dictionary<string, string> Attributes {get; set};
}
List<A> listA = new List<A>();
List<string> Filters = new List<string>();
Now, what I want to do is select all DISTINCT by name elements from listA where the dictionary Attributes key equals any value from the Filters list.