How to apply loop with condition

How can we loop according to the month and make change in selection on Screen
For Example
The Current month is 2
First Time Execute as follows
Capture

1)It should make change in the value on screen as 1 to 1
2)Then execute

When loop executes second time
3)The value on screen would be 1 to 2
4)Then Execute

@anmita

Use a for loop with in argument as Enumerable.Range(1,12).ToArray and change type argument to integer

Now inside the loop for each iteration currentitem will have 1,2,3 and so on

Cheers

1 Like

Thanks @Anil_G !!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.