private static void IncWithRoll(ref int incField, int rollOverValue) { if ((++incField) >= rollOverValue) incField = 0; }