Advertisement
Fhernd

UsoDirectivas.cs

Jul 17th, 2015
861
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.53 KB | None | 0 0
  1. // OrtizOL - xCSw - http://ortizol.blogspot.com
  2.  
  3. #define DEPURAR
  4. //#define RASTREAR
  5. #undef RASTREAR
  6.  
  7. using System;
  8.  
  9. public class UsoDirectivas
  10. {
  11.     public static void Main()
  12.     {
  13.         Console.WriteLine(Environment.NewLine);
  14.        
  15.         #if (DEPURAR)
  16.             Console.WriteLine("La depuración está habilitada.");
  17.         #endif
  18.        
  19.         #if (RASTREAR)
  20.             Console.WriteLine("El rastreo está habilitado.");
  21.         #endif
  22.        
  23.         Console.WriteLine(Environment.NewLine);
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement