How do i add to a List<int> also the numbers in between?
<p>This is the code:</p>

<pre><code>_fts = new List&lt;int&gt;();
                    for (int i = 0; i &lt; LR.Count; i++)
                    {
                        _fts.Add(LR[i].start);
                        _fts.Add(LR[i].end);
                    }
</code></pre>

<p>In the end _fts have for example 15 numbers for example the first 4 indexs:</p>

<pre><code>[0] 88
[1] 96
[2] 93
[3] 100
</code></pre>

<p>I need before im doing the adding: _fts.Add
I need to calculate somehow each two couple start and end and get the numbers between and add all this numbers to the _fts.</p>

<p>For example end is 96 and start 88 so I need to add to the _fts the numbers:</p>

<pre><code>88 89 90 91 92 93 94 95 96
</code></pre>

<p>Then end is 100 and start is 93 so again add to _fts the numbers:</p>

<pre><code>93 94 95 96 97 98 99 100
</code></pre>

<p>So now _fts will looks like:</p>

<pre><code>88 89 90 91 92 93 94 95 96 93 94 95 96 97 98 99 100
</code></pre>

<p>If the number for example 93 and 94 appears twice it's ok I need it this way since after it I parse the List and put it in directories ...Never mind this part with the directories.</p>

<p>What I need to add the numbers in between each couple. And not only to add 88 and 96 or 93 and 100. </p>

<p>How can I do it ?</p>
