Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created June 24, 2021 19:56
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/614d56db8d4e617cba7187e89e6f2e3d to your computer and use it in GitHub Desktop.
Save parzibyte/614d56db8d4e617cba7187e89e6f2e3d to your computer and use it in GitHub Desktop.
static void recorrerArreglo(Persona[] personas)
{
foreach (var persona in personas)
{
Console.WriteLine("Tenemos una persona: " + persona);
persona.saludar();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment