Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Search Your Question

Tuesday, April 22, 2008

Can you change the value of a variable while debugging a C# application?

Yes, but not directly. You can change the value of variables by using the command window.

Type IMMED in the command window prompt to switch to immediate mode which will get rid of the “>”. To manipulate a variable in the command window, type strCustomerName.Value = “abc” or txtComments.innerText = “abc” and it will override the old value in strCustomerName with the new value.

No comments:

Archives