C# - Stream Reader or whats the best way to do it?
<p>I have a text file with something like this in it.</p>

<p>Tom 1 2<br>
Jerry 3 4</p>

<p>using C#, I have populate this into two arrays</p>

<p>1st array = {Tom,Jerry} - 1 dim array<br>
2nd array ={(1,2),(3,4)} - 2 dim array</p>

<p>Please help me with this. Any help would be appreciated.  </p>

<pre><code>Console.WriteLine("Enter the file name with extension:");   
string filename = Console.ReadLine();   
string s = System.IO.File.ReadAllText("C:/Desktop/" + filename);  
Console.WriteLine("\n Text Details in the file: \n \n"+s);
</code></pre>
