protected static bool nFoundInArray(string searching, ArrayList myArray, int limit)
{
int count = 0;
for (int i=0; i< myArray.Count && count <= limit ; i ++) {
//LogB.Information("searching {0}, myArray[i] {1}, limit {2}", searching, myArray[i], limit);
if (searching == myArray[i].ToString()) {
count ++;
}
}
if(count >= limit) {
return true;
}
return false;
}