-
-
Save parzibyte/1f0d3aa9ad4433b71a02379b9688478a 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
static void Main(string[] args) | |
{ | |
Persona[] arreglo = { new Persona("Luis", 24), new Persona("María", 24) }; | |
int longitud = longitudDeArreglo(arreglo); | |
int longitudConLength = arreglo.Length; | |
Console.WriteLine("La longitud según método es {0}, y según .Length es {0}", longitud, longitudConLength); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment