I need to check if there is a state in my list ... I am passing a parameter (a status code) and the method will see in the list if that state exists ... something like this in C #:
if (listState.Contains(s.nIDState) == estado)
{
return true;
}
Does anyone have an idea how to do it?