Use print like function to out put the feedback from the code, like Console.WriteLine.
But use this method, there could be too many outputs from the program. In VS, you can choose View -> Output to see the information about compilation and execution.
Instead of using Console.WriteLine, there are other two options Debug.WriteLine and Trace.WriteLine. The first option only works in debug builds and second only works in release build. And both write to the Output window. They are included in System.Diagnostics.
In VS, user also can set up break point like other IDE does.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment