How to extgract an integer and a two dimensional integer array from a combination of both in C#
<p>I have an <strong>input</strong> as </p>

<pre><code>2:{{2,10},{6,4}} 
</code></pre>

<p>I am reading this as </p>

<pre><code>string input = Console.ReadLine();
</code></pre>

<p>Next this input has to be passed to a function </p>

<pre><code>GetCount(int count, int[,] arr)
{

}
</code></pre>

<p>How can I do so using C#?</p>

<p>Thanks</p>
