본문 바로가기
C#(CSharp)/Etc

C# if/then directives for debug vs release

by swconsulting 2018. 4. 7.

#if DEBUG

                Console.WriteLine( "Mode=Debug" );

#else

                Console.WriteLine("Mode=Release"); 

#endif

'C#(CSharp) > Etc' 카테고리의 다른 글

Get utc time to time zone standard time  (0) 2018.04.09
Windows/C# Timezone List  (0) 2018.04.09
C# directory exist or not  (0) 2018.04.02
How to properly exit a C# application?  (0) 2018.03.29
int to string 4 digit (ex) 100 -> 0100  (0) 2018.02.19