Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 16, 2021 22:04
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/7e877629b735d7acb7f6e657373037e4 to your computer and use it in GitHub Desktop.
Save parzibyte/7e877629b735d7acb7f6e657373037e4 to your computer and use it in GitHub Desktop.
using System;
namespace CambiarColorTexto
{
class Program
{
static void Main(string[] args)
{
// https://parzibyte.me/blog
dynamic[] arreglo = { 1, "Cadena", 1.23 };
Console.WriteLine("En la posición 0 tenemos: " + arreglo[0].GetType());
Console.WriteLine("En la posición 1 tenemos: " + arreglo[1].GetType());
Console.WriteLine("En la posición 2 tenemos: " + arreglo[2].GetType());
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment