Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/07/2009, 14:25
felix46
 
Fecha de Ingreso: diciembre-2007
Mensajes: 107
Antigüedad: 16 años, 4 meses
Puntos: 4
Respuesta: como usar el random en c#

Cita:
Iniciado por boluart Ver Mensaje
Random rand = new Random(Environment.TickCount);
int aleatorio = rand.Next(2);
sigue igual