Random Number - C#

Random Number - C#

code snippet

c#
private static int RandomNumber(int min = 1, int max = 10)
{
    Random r = new Random();
    return r.Next(min, max);
}

"If opportunity doesn't knock, build a door"

Contact me!

Have questions? Feel free to use the form or send me an email with any questions.

I will be responsive to your requests and your questions.