C# Convert space separated byte array integers into list of integers
<p>I have the following numbers which I enter into the console on a single line with spaces:</p>

<pre><code>4 20 3 3 1
</code></pre>

<p>I read this line in and assign it to a string variable. Using <code>ASCIIEncoding.ASCII.GetBytes()</code> I convert the string to an array of bytes.</p>

<p>How can I split the array of bytes into integers, by removing the spaces and adding the integers to a list?</p>

<p>For example, the above numbers would be converted to the list <code>[4, 20, 3, 3, 1]</code>.</p>