C# Add int numbers to a list while running a loop
<p>I have tried to get the point across in the title as best as I can but basically what I want to do is add certain items to List while running a loop so I don't have to manually put them into an if statement. Let me please show an example so that I can explain properly.</p>

<p>Example :-</p>

<p>What I need is :- the first number would be 500 and that would be in index 0, then i want a loop to add 150 to the last number generated so that the int list would look like this,</p>

<pre><code>index 0 = 500
index 1 = 650
index 2 = 800
index 3 = 950
</code></pre>

<p>Do this repeatedly until say the last number will read 2,000,000</p>

<p>Now I believe that this would be simple to run a loop and base it on conditions but I can only seem to figure out to run a loop that will increment the value in 1.</p>

<p>Hope I have explained well enough</p>

<p>Regards,
M</p>