C# code to convert char[] into string at string []
<pre><code>char[] lin=new char[65];
</code></pre>

<p>after lin updated with characters </p>

<pre><code>string s = new string(lin);\\to convert lin into string 

cod_lines[counter] = s;\\i need to store each lin in array of string 
                       \\ but this problem (Object reference not set to an instance of an object.) 
</code></pre>

<p>shown when run ,,
why ?? help me please</p>
