by "copy" do you simply mean take the text from the treeview (treeview? huh, title says listbox) and have it be displayed in a textbox or listbox.
Strings are Reference type, so "copying" the information is substantially more complicated than assigning a reference to the text property of a textbox.
but the short answer is textbox.text = treeview.SelectedNode.Text; The text property that all classes the inherit from the System.Windows.Forms.Control class contains whatever text is being displayed by that control. On a form, its the title caption, on a label its the display text, in a textbox its the text that's in it, and in the Node class that represents a member of a tree view its the text displayed on that node.
so you simple set the text property of the control you want to "copy" the text to with the text property of the control you want to "copy" the text from.
If you can't tell... I'm really bored right now... this is probably the simplest question I have ever seen on this forum... and normally silly questions like this one don't get answered. Because it will take you longer to read this long post than it would have to google it and find the answer.
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...