string GetName(){ 
   //...一些代码
   return this.AnotherMethod(); }//当我跟踪执行到这个大括号时,我想查看该函数的返回值,如何查看?
而这在VB.net里是很方便的:
Function GetName() As String
   ' ...一些代码
   Return Me.AnotherMeghod()
End Function '当我跟踪执行到这里时,把鼠标往"GetName"那里一指就看到返回值了这在C#里怎么查看? 
C#不会这么烂连这点功能都没有吧

解决方案 »

  1.   

    ??
     string m = this.AnotherMethod(); //此处设断点,不就可以看了
     return this.AnotherMethod(); 
      

  2.   

    如果每个人都长得一样就没有什么C# VB了 :)
      

  3.   

    Samen168(开源框架、代码生成器 http://my.6to23.com/samen168)  ...即时窗口执行...==还有不说鸟
    -------------------大侠,你告诉我方法吧,在即时窗口弄也行,只能能让我得到返回值.
    谢谢了