Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Error using While loop. Assign: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

$
0
0

I am getting this error in while loop which has a very simple condition. I just want to loop until the value is less than the variable defined.
My condition has an increment variable which value is assigned to 0 and as it loops through the value is incremented and the other value is the count/length of a dictionary element. The type of dictionary is divisionsDictionary(String, IList(of String)) and the condition is:

while(counterSubDivArr < divisionsDictionary(divisionNames(i)).Count)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>