Issue trying to solve Project Euler #1
<p>I'm having a problem trying to make a small app to solve <a href="http://projecteuler.net/problem=1" rel="nofollow">Project Euler Problem #1</a>.</p>

<p>Whenever I attempt to run this, it returns as 0, instead of 233168. </p>

<p>I'm not necessarily looking for an absolute answer, just some hints, I'm trying to learn.</p>

<pre><code>using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            int x;
            List&lt;int&gt; listOne = new List&lt;int&gt;();
            for (x = 1; x &lt; 1000; ++x)
            {
                if(x%3 == 0 || x%5 == 0)
                {
                    listOne.Add(x);
                }
                Console.WriteLine(listOne.Sum());
                Console.ReadLine();
            }
        }
    }
}
</code></pre>
