I've got a List properties that must contain both pivot1 and pivot2.
How can I make Contains work with BOTH values?
List<string> properties = line.Split('|').ToList();
string pivot1 = "value1";
string pivot2 = "value2";
if(properties.Contains(pivot1) && properties.Contains(pivot2))
{
// do stuff.
}