is it possible to add numbers to existing strings in a listbox.
I can do it in a treeview, like below;
treeView1.Nodes[0].Text = treeView1.Nodes[0].Text + "2,";
So the string on the text would be "JOHN DOE - A" after a button click
EDIT 1 : I have it kind of working;
var words = new List<string>();
if (ckbAnswerA.Checked)
words.Add("-A,");
if (ckbAnswerB.Checked)
words.Add("B,");
if (ckbAnswerC.Checked)
words.Add("C");
treeView1.SelectedNode.Text = string.Join(" ", words);
but it completely removes the original text, it should be
JOHN DOE - A,B,C but it returns -A,B,C