title: string.join method used in sharpDevelop
body: <p>I am trying to convert a double[,] to one string[] as my code shows below</p>
  
  <pre><code>double[,] completeDataArray = new double[25,4000];
  string[] tarray = new string[4000];
  
  for(int i = 0;i&lt;4000;i++)
  {
      tarray[i]=string.Join(",",Convert.ToString(completeDataArray[24,i]));
  }
  </code></pre>
  
  <p>`</p>
  
  <p>When I did this in visual studios everything worked as expected. But in sharpDevelop I get these 2 errors</p>
  
  <blockquote>
    <p>(1)The best overloaded method match for 'string.Join(string,string[])' has some invalid parameters and (2)Argument 2: cannot convert from 'string' to string[]'</p>
  </blockquote>
  
  <p>The only way I can get it to work is to use another string array.</p>
  
  <pre><code>double[,] completeDataArray = new double[25,4000];
  string[] tarray = new string[4000];
  string[] tempString = new string[4000];
  
  for(int i=0;i&lt;4000;i++)
      tempString[i]=convert.toString(completeDateArray[24,i]);
  
  for(int i = 0;i&lt;4000;i++)
      tarray[i]=string.Join(",",tempString);
  </code></pre>
  
  <p>The only problem I have with this is I am running out of memory and when I use the tempString I get an out of memory error.</p>
  
  <p>Could anyone tell me what I am doing wrong?</p>