Quote:
|
Originally Posted by RobSoftware
I'm not sure what you mean brackett - how do I add a watch in VS?
|
I assumed that Void was interested in knowing the value while debugging. In that case, in the VS debugger you can (a) use the immediate window and type "?variableName" which will print the value, (b) hover over the declaration and a tooltip will show you the value, or (c) add to the QuickWatch window by just typing the name in.
Of course, a Debug.WriteLine like you have will work as well.