I am trying to debug a method and need to trace how a variable is being changed to see where I went wrong. What in ASP.NET/C# could I use to do this?
For example if it was php I could stick an echo where ever I need to check the value and it would print it to the html. JavaScript I could use alert(var);