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
Post a Comment