Skip to content

Instantly share code, notes, and snippets.

@vmussak
Created April 12, 2018 00:47
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 vmussak/6c69d51b612c86b40c67e1f103c2a127 to your computer and use it in GitHub Desktop.
Save vmussak/6c69d51b612c86b40c67e1f103c2a127 to your computer and use it in GitHub Desktop.
using System;
namespace BlazorExample.Services
{
public class GeradorDeNumeros
{
public int GerarNumero(int numeroInicial, int numeroFinal)
{
var random = new Random();
return random.Next(numeroInicial, numeroFinal);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment