How to generate a random number between 1 to 100 in c#

I had syntax for vb = new Random().Next(1,999)

Hello @MitheshBolla

c# random number between 1 and 100. Check below Image:

I hope it may helps!!

There won’t be much changes in between the syntax.

Here’s a workflow for your reference

RandomNumber.xaml (7.5 KB)