Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created Jun 26, 2021
Embed
What would you like to do?
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