Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C#
C# Reference
 #endif
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
C# Language Reference
#endif (C# Reference)

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

      #define DEBUG
// ...
#if DEBUG
    Console.WriteLine("Debug version");
#endif

A conditional directive, beginning with a #if directive, must explicitly be terminated with a #endif directive. See #if (C# Reference) for an example of how to use #endif.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker