What are the different C# preprocessor directives?
Interview question and answer by:
Abhisek | Posted on: 1/21/2010 | Category:
C# Interview questions | Views: 1672 |
Answer:
#region , #endregion :- Used to mark sections of code that can be collapsed.
#define , #undef :-Used to define and undefine conditional compilation symbols.
#if , #elif , #else , #endif :- These are used to conditionally skip sections of source code.
Asked In: Interviews
|
Alert Moderator
Found interesting? Add this to: