-
-
Save parzibyte/a953687cdc665b1d8145090a2eebf7db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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