int a1 = 1;
 int a2 = 2;
 string resStr="Init";
 if (a1 < a2)
  {
       goto bb;
        resStr="aa"; 
  }
  resStr = "kk";
  bb:; 
  Response.Write(resStr);     

 

输出结果:Init

相关文章: