I have the following code:
foreach(string reelid in unValidatedFeedersOnMachine.Keys)
{
_sqlString.Append("CompID = '").Append(reelid).Append("' ");
}
I need to add in that loop on each iteration .Appened("or ")
except the last one.
Any idea how i can know when i located on the last iteration here?