Advertisement
Fhernd

IgualdadTiposPrimitivos.cs

May 19th, 2016
2,736
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. class IgualdadTiposPrimitivos
  2. {
  3.     static void Main()
  4.     {
  5.         int x = 1;
  6.         int y = 2;
  7.         int z = 1;
  8.  
  9.         Console.WriteLine(x == y);  // False
  10.         Console.WriteLine(x == z);  // True
  11.  
  12.         Console.ReadKey();
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement