I have a richtextbox on my form in which I would like the user to be able to save anything they type or display any .txt file they open.

How can I use the stream reader to read the entire rich text box and place the text into a variable? What type of variable should I be using to store the input?