string GetName(){
//...一些代码
return this.AnotherMethod(); }//当我跟踪执行到这个大括号时,我想查看该函数的返回值,如何查看?
而这在VB.net里是很方便的:
Function GetName() As String
' ...一些代码
Return Me.AnotherMeghod()
End Function '当我跟踪执行到这里时,把鼠标往"GetName"那里一指就看到返回值了这在C#里怎么查看?
C#不会这么烂连这点功能都没有吧
//...一些代码
return this.AnotherMethod(); }//当我跟踪执行到这个大括号时,我想查看该函数的返回值,如何查看?
而这在VB.net里是很方便的:
Function GetName() As String
' ...一些代码
Return Me.AnotherMeghod()
End Function '当我跟踪执行到这里时,把鼠标往"GetName"那里一指就看到返回值了这在C#里怎么查看?
C#不会这么烂连这点功能都没有吧
string m = this.AnotherMethod(); //此处设断点,不就可以看了
return this.AnotherMethod();
-------------------大侠,你告诉我方法吧,在即时窗口弄也行,只能能让我得到返回值.
谢谢了