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

new Random().Next() not working as expected

$
0
0

Hi Friends,

i need to select a value from a range of 1 to 5 randomly.

i tried below method

new Random().Next(1,5)

it works but the problem is randomly showing 1 to 4 only not 5.

could anyone helps me to solve this issue.

Thanks
Lenin KR

8 posts - 4 participants

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>