Advertisement
imjyb1008work

howtouseregion

Sep 30th, 2014
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. //=============經手前=============
  2. #region 新增
  3. if (true)
  4. {
  5.     Console.WriteLine("Hello True");
  6. }
  7. #endregion
  8.            
  9. #region 修改
  10. else
  11. {
  12.     Console.WriteLine("Hello false");
  13. }
  14. #endregion
  15.  
  16.  
  17. //=============經手後=============
  18. if (true)
  19. {
  20.     #region 新增
  21.     Console.WriteLine("Hello True");
  22.     #endregion
  23. }
  24. else
  25. {
  26.     #region 修改
  27.     Console.WriteLine("Hello false");
  28.     #endregion
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement