Searching in strings some specific elements in C#
<p>I wish to make a cmd project in Visual Studio that will take the IP address and port of the server. However there is no specific order in which they will be entered.</p>

<p>Example:</p>

<pre><code>C:/myproject 217.0.0.1 4589            
</code></pre>

<p>or</p>

<pre><code>C:/myproject 45874 217.0.0.1        
</code></pre>

<p>What kind of loop should I make to get these info? Should I use <code>BinaryReader</code>?</p>
