Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

#endif

#endif specifies the end of a conditional directive, which began with the #if directive.

#endif

Remarks

A conditional directive, beginning with a #if directive, must explicitly be terminated with a #endif directive.

Example

See #if for an example of how to use #endif.

See Also

C# Preprocessor Directives

Show:
© 2015 Microsoft