c# - Uncomment code programmatically -


how can comment out comment programmatically? think of this:-

void releasea() {    //todo: } //string = "test"; releasea(); textbox1.text = a; 

how can achieve , implement method releasea comment out //string = "test"; searched still can't find anything.

i think want this:

string = "";  if (condition)     = "test";  textbox1.text = a; 

so example of checkbox , text box:

string text = "";  if (checkbox.checked)     text = inputtextbox.text;  resulttextbox.text = text; 

Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -