Como fazer o console imprimir, em c#, o máximo entre 4 números? urgente!

1 Resposta

  • marinatagomori

    Private static int[] SorteiaNumerosSemRepetir(int quantidade, int minimo, int maximo){    List numerosSorteados = new List();     return numerosSorteados.ToArray();}12345Private Function SorteiaNumerosSemRepetir(quantidade As Integer, minimo As Integer, maximo As Integer) As Integer()    Dim numerosSorteados As New List(Of Integer)()     Return numerosSorteados.ToArray()End Function

Clique aqui para adicionar a sua resposta.