title: C# - Converting String array to sbyte** (String[] to sbyte**)
body: <p><code>XFunction</code> is a CLI to managed C++ code (wrapper).
  I want to use <code>XFunction(int,sbyte**)</code> in my C# Project and convert String array to sbyte**.</p>
  
  <pre><code>sbyte[][] sbytes = new sbyte[7][];
  for (int argCounter = 0; argCounter &lt; 7 ; argCounter++)
  {   
       //get the byte array
       byte[] bytes = Encoding.ASCII.GetBytes(argument[argCounter]);
      //convert it to sbyte array
      sbytes[argCounter] = new sbyte[bytes.Length];
      for (int i = 0; i &lt; bytes.Length; i++)
      sbytes[argCounter][i] = (sbyte)bytes[i];
  }
  </code></pre>
  
  <p>when I calling:</p>
  
  <pre><code>XFunction(7,sbytes);
  </code></pre>
  
  <p>and buid, generate this error:</p>
  
  <blockquote>
    <p>The best overloaded method match for 'XFunction(int, sbyte**)' has
    some invalid arguments      Argument 2: cannot convert from 'sbyte[][]'
    to 'sbyte**'</p>
  </blockquote>
  
  <p>How can I fixed this error???</p>