Comparing DateTime's Isn't Working
<p>I'm making a program that logs the processes of a computer and then from that initial time, every X minutes after, another log is saved in a text file. I've got the writing to the text file and everything going fine. I just can't seem to get DateTime to work properly or I'm misunderstanding its uses.</p>

<pre><code>DateTime firstTime = DateTime.Now; 

Process[] processlist = Process.GetProcesses();

foreach (Process theprocess in processlist)
{
    sw.WriteLine("Process: {0} ID: {1}", theprocess.ProcessName, theprocess.Id);
}
sw.WriteLine(firstTime);


DateTime now = DateTime.Now.AddMinutes(1);
sw.WriteLine(now);
while (DateTime.Now == DateTime.Now)
{
    DateTime nuw = DateTime.Now;
    sw.WriteLine(nuw);
    if (nuw == now)
    {

        sw.WriteLine("It worked");
    }             
}
</code></pre>

<p>I know the while loop is terrible, but I was just seeing if anything could work. The problem that I think is causing this is that DateTime.Now, doesn't update/change every second, it remains the same throughout the entire duration. Even going console and writing it out endlessly, it remains the same date that was first called.</p>

<p>So yea, I'm at the end of what I know what to do.</p>
