C# Increment operator (++) question:Why am i getting wrong output?
<p>I have a simple c# console application but i am getting wrong output why?</p>

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

namespace ConsoleApplication11
{
class Program
{
    static void Main(string[] args)
    {
        int i = 100;
        for (int n = 0; n &lt; 100; n++)
        {
            i = i++;
        }
        Console.WriteLine(i);
    }

}
}
</code></pre>
