How to get all items to a string [] from listview?
<pre><code>ProcessStartInfo startInfo = new ProcessStartInfo();

startInfo.CreateNoWindow = true;
startInfo.UseShellExecute = false;
startInfo.FileName = @".\ext.exe";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
int i=0;
string item = listView1.Items[i++].Text;
startInfo.Arguments = "--logfile=duration_output.txt " + (item);
</code></pre>

<p>I am trying to list all items as a <code>string[]</code>, but then the application gives me an empty logfile.<br>
When I use the simple <code>string item = listView1.Items[i++].Text</code>, it gives me only one the first file on the output.</p>

<p>How is it possible to do that?</p>
