using static System.Console;
namespace ConsoleApplication1 {
static int[] Fornecimento(int[] numero) {
WriteLine("*****************************************************************");
WriteLine($"*{new String(' ', 63)}*");
WriteLine($"*{new String(' ', 16)}FORNECIMENTO DE NUMEROS{new String(' ', 24)}*");
WriteLine($"*{new String(' ', 63)}*");
WriteLine("*****************************************************************");
WriteLine($"\n{new String(' ', 8)}O que deseja fazer: \n\n{new String(' ', 8)}=>1-Fornecer os numeros \n{new String(' ', 8)}=>2-Gerar numeros automaticamente \n\n{new String(' ', 8)}Escolha uma opcao: ");
int opcao = Convert.ToInt32(ReadLine());
public static void Main(string[] args) {
int[] numero = new int[500000];
int retorno = 1, tipo = 0;
WriteLine("*****************************************************************");
WriteLine($"*{new String(' ', 63)}*");
WriteLine($"*{new String(' ', 16)}ALGORITMO DE ORDENACAO{new String(' ', 25)}*");
WriteLine($"*{new String(' ', 63)}*");
WriteLine("*****************************************************************");
while (tipo >0 && tipo < 4) {
Write($"\n\n{new String(' ', 8)}Que tipo de algoritmo deseja utilizar: \n\n{new String(' ', 8)}1-Inserction sort \n{new String(' ', 8)}2-Selection sort \n{new String(' ', 8)}3-Bubble sort \n\n{new String(' ', 8)}Escolha uma opção=> ");
tipo = Convert.ToInt32(ReadLine());