How to iterate list and apply logic after two item
Hi experts,I want to iterate IList which can have any number of items and i want my result like below:
Item Number --> logic
1,2 --> Logic A
3,4 --> Logic B
5,6 --> Logic A
7,8 --> Logic B
9,10 --> Logic A
here i want to change logic after every two item and apply logic A & B. Is there any way i can do this