title: C# loopless way to split string into multidimensional array or jagged array
body: <p>How do I split a string into a multidimensional array or a jagged array without looping?
  I saw a code snippet where someone was doing so with a file stream and I can't figure out how to make it work for my string.
  My string is similar to <code>1:2;3:1;4:1</code> and can be split into <code>ID:Qty</code>.
  Here is the code I saw:</p>
  
  <pre><code>string[][] lines = File.ReadAllLines(path)
      .Select(line =&gt; line.Split(',').ToArray()).ToArray();   
  </code></pre>
  
  <p>Thanks in advance.</p>