Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created February 2, 2021 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/497f8daaa79c8b8d1b459b9a40eecc10 to your computer and use it in GitHub Desktop.
Save parzibyte/497f8daaa79c8b8d1b459b9a40eecc10 to your computer and use it in GitHub Desktop.
static int aleatorioEnRango(int minimo, int maximo)
{
System.Random rnd = new System.Random();
return rnd.Next(minimo, maximo + 1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment