#endif 指定以 #if 指令开头的条件指令的结尾。例如,
|  复制代码 | |
|---|---|
| 
        #define DEBUG
// ...
#if DEBUG
    Console.WriteLine("Debug version");
#endif | |
#endif 指定以 #if 指令开头的条件指令的结尾。例如,
|  复制代码 | |
|---|---|
| 
        #define DEBUG
// ...
#if DEBUG
    Console.WriteLine("Debug version");
#endif | |
 备注
备注 请参见
请参见