Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

#else (C# Reference)

#else lets you create a compound conditional directive, so that, if none of the expressions in the preceding #if or (optional) #elif directives to true, the compiler will evaluate all code between #else and the subsequent #endif.

#endif must be the next preprocessor directive after #else. See #if for an example of how to use #else.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.