Senin, 19 November 2007

PreProcessorsDirective


#define debugging


using System;


using System.Collections.Generic;


using System.Text;


namespace PreProcessorsDirective


{


class PreProcessorsDirective


{


#if debugging


static void Write()


{


Console.WriteLine("Debugging.>>");


}


#endif


#pragma warning disable 219


#line 10


static void Main(string[] args)


{


int a = 5; //219 Warning


#if debugging


Write();


#endif


}


}


}

Tidak ada komentar: