Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 26, 2021 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/a953687cdc665b1d8145090a2eebf7db to your computer and use it in GitHub Desktop.
Save parzibyte/a953687cdc665b1d8145090a2eebf7db to your computer and use it in GitHub Desktop.
using System;
namespace App
{
class Programa
{
/*
https://parzibyte.me/blog
*/
static void Main(string[] args)
{
string[] nombres = { "Luis", "María José", "Aloy" };
string[] otrosNombres = { "Leon", "Claire", "Jill" };
string[] todosLosNombres = new string[nombres.Length + otrosNombres.Length];
nombres.CopyTo(todosLosNombres, 0);
otrosNombres.CopyTo(todosLosNombres, nombres.Length);
foreach (string nombre in todosLosNombres)
{
Console.WriteLine(nombre);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment