How to read from a file a number which has 1 or 2 characters length
<p>How can I read from a text file, numbers that only consists of one or two characters.
For example:</p>

<pre><code>123 32 40 14124 491 1
</code></pre>

<p>I need to get : <code>32 40 1</code></p>

<p>What I did atm:</p>

<pre><code>OpenFileDialog ls = new OpenFileDialog();
int numbersFromFile;
if (ls.ShowDialog() == DialogResult.OK)
{
    StreamReader read = new StreamReader(ls.FileName);
}
</code></pre>

<p>I'm not sure what to do, I think I need to read all the characters in a string and then to use the substring funcion?</p>
