Since you don't show us more of your code, my guess is, that you did not instantiate the instance of myReader as in this sample:
private StringReader myReader;
public Form1()
{
InitializeComponent();
string line = myReader.ReadLine();
}
To solve that issue you need to create the StringReader object as in this sample, but you need to fill it with your content.
private StringReader myReader;
public Form1()
{
InitializeComponent();
myReader = new StringReader("HelloWorld");
string line = myReader.ReadLine();
}