C#使用注释取消程序语句的执行
C#使用注释取消程序语句的执行2009-12-25可以使用注释(#if、#elif、#else、#endif、#define)来控制程序语句的执行,其代码如下:public string info(){string strIonf;#if (Hywork==false)strIonf = "can not if";return strIonf;#elif(Hywork==true)strIonf = "do if";...