How to write method which will accept variable count of parameters by ref
<p>So, I have the following code</p>

<pre><code>int[] GetIndexes(string columns)
{
  ...
}

var indexes = GetIndexes("Code|Name|Description");
var codeIndex = indexes[0];
var nameIndex = indexes[1];
var descIndex = indexes[2];
</code></pre>

<p>It is preferred to use it in the next way:</p>

<pre><code>GetIndexes("Code|Name|Description", ref codeIndex, ref nameIndex, ref descIndex);
</code></pre>

<p>Have you any suggestion about it?</p>
