title: Read INI file section with separator to array
body: <p>I'm trying to convert my C++ code to Visual C#. My goal is to be able to read a INI file (not a XML file !) with some sections. Each line is assigned to a button and each button launch a command. Each INI line has 4 value, separated by a &quot;;&quot;.</p>
  <p>For example :</p>
  <blockquote>
  <p>[Button_section1]</p>
  <p>Button1=Button Scenario;open;notepad;/a;scenario.txt</p>
  </blockquote>
  <p>Means :</p>
  <ul>
  <li>List item</li>
  <li>Button1 : real name of the button</li>
  <li>Button Scenario : the text (dipslayed name) of the button</li>
  <li>open : initial command (can be print or explore too...</li>
  <li>notepad : executable (can be any file or CMD for another example)</li>
  <li>/a : first argument</li>
  <li>scenario.txt : 2nd argument</li>
  </ul>
  <p>So, in my previous code, I had 25 methods <code>ReadSection</code> and <code>StringSepare</code>, which was able to read each section of my INI file then put in array with the <code>StringSepare</code> method</p>
  <p>When loading the form, the Button Text can be displayed from the INI file with following</p>
  <pre><code>Button bt = (Button)this.Controls.Find(i, true)[0];
  </code></pre>
  <p>Then clicking on the button allow to launch the following command :
  (open in this case) -&gt; notepad /a scenario.txt</p>
  <p>NOTES :
  I don't want to use any XML file, because I have a link with my SQL BD, which is interpretated as a CSV file. In fact, it is a CSV file with sections.,..</p>