I am trying to iterate through an array and process every X amount (in this case 90), then move go back though the loop until the array has been exhausted. This could be achieved easily if the array was a fixed amount, sadly it is not.
//Test range of 90 for total tag collection
private void TestExcelRange(string[] tagCollection)
{
string DellTag = null;
int maxGroupAmmount = 90;
foreach(string singleTag in tagCollection)
{
//process in groups of 90 -- maxGroupAmmount
if (singleTag != "NONE")
{
DellTag += singleTag+ "|";
}
//After 90 process again until tagCollection is complete
}
}