Documente Academic
Documente Profesional
Documente Cultură
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace AppOrdenamientoShell
{
class Program
{
/*************** INGRESAR UN ELEMENTO A AUN ARREGLO *************/
static int[] ArregloEnteros(int[] Arreglo, int longitud)
{
Random aleatorio = new Random();
for (int i = 0; i < longitud; i++)
{
Arreglo[i] = aleatorio.Next(0, longitud) + 1;
}
return Arreglo;
}
sw.Stop();
Console.WriteLine("\n\n\n\n Time elapsed: {0}",
sw.Elapsed.ToString("hh\\:mm\\:ss\\.fff"));
Console.ReadKey();
}
}
}