I want INT datatype value one bye one in for loop:-
any solution for this?
Foreach is always for collections only, For loop only can be done with integer, which is not supported in UiPath.
You can use Do while instead of this.
Check this link for Do while
You cannot loop through integer,it should be a datatable or datarow @sams
You can use while loop. See example in studio. Or here you can put Enumerable.Range(0,5) instead of your variable “a”