Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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