Sorry for question title, I don't know really how to explain it in a single sentence...
I have a class like this
public class xyz
{
public static string attr1;
public static string attr2;
public static string attr3;
}
how can i check if there is an object with attr1=="aaa" in a List<xyz>
?
is there something like
List<xyz> MyList = new List<xyz>();
[...]
bool attr1_exist = MyList.attr1.Contains("aaa");
?