Advertisement
Mikescher

magic comment switch

Jan 24th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. //Change the line from /** to /**/
  2. //And all comments will become code (and all code will become comment)
  3. // o.O Magic O.o
  4.  
  5. namespace NS1
  6. {
  7.     class MainClass
  8.     {
  9.  
  10. /**
  11.  
  12.         int vers_nmr = 4;
  13.  
  14. /*/
  15.  
  16.         int vers_nmr = 5;
  17.  
  18. /*/
  19.  
  20.         public int main() {
  21.             return methodA(4, 7);
  22.         }
  23.  
  24. /*/
  25.  
  26.         public int main() {
  27.             return methodA(9, 3);
  28.         }
  29.  
  30. /*/
  31.  
  32.         public int methodA(int a, int b) {
  33.             return a*b;
  34.         }
  35.  
  36. /*/
  37.  
  38.         public int methodA(int a, int b) {
  39.             return a+b;
  40.         }
  41.  
  42. //*/
  43.  
  44.     }
  45.    
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement