Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 7, 2013 15:35
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 Fhernd/6175177 to your computer and use it in GitHub Desktop.
Save Fhernd/6175177 to your computer and use it in GitHub Desktop.
Demostración del uso del operador de igualdad (==) sobre tipos de datos primitivos.
class IgualdadTiposPrimitivos
{
static void Main()
{
int x = 1;
int y = 2;
int z = 1;
Console.WriteLine(x == y); // False
Console.WriteLine(x == z); // True
Console.ReadKey();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment