Yes, but you get the idea dont you? You iterate through every node and print the text instead of doing "TreeView1.SelectedNodes.Text"
Because what you did your just assigning a string variable with the value "TreeView1.SelectedNodes.Text". Its like string s = "apple", you are not doing anything special.
You have to iterate through treeView1.selectedNodes and foreach node inside you print it's text. You dont go string s = "treeView1.SelectedNodes.Text" because firstly, you're not doing anything special, just assigning a string literal to a string variable and secondly, the the object treeView1.SelectedNodes does NOT have the property named "Text".
And please man, C languages arent hard to understand are they? If you are insisting for a non C# answer, then just take my code as pseudocode.
2