Check out example codes for "random() C# grepper". It will help you in understanding the concepts better.

Code Example 1

Random rnd = new Random();
int value = rnd.Next(min,max);
Console.Write(value);

Learn ReactJs, React Native from akashmittal.com