Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 30, 2021 15:42
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/6fc7faa037951ebbd8b5f79787896d41 to your computer and use it in GitHub Desktop.
Save parzibyte/6fc7faa037951ebbd8b5f79787896d41 to your computer and use it in GitHub Desktop.
int[] arreglo = { 28, 11, 96, 21, 6, 97 };
for (int indice = 0; indice < arreglo.Length; indice++)
{
int elemento = arreglo[indice];
Console.Write(elemento);
// Imprimir también una coma
Console.Write(", ");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment