C# - Loop only when a number changes
<p>Example of my code:</p>

<pre><code>string value = client.DownloadString("http://www.site.com/value.html"); // There is a value of something like a1x6b2xs2 (just one line with random numbers that changes randomly).
Console.WriteLine(value);
Console.ReadKey();
</code></pre>

<p>That's all the code! I need to make the console write the number again only if the value in the site got changed! And make it a nonstop loop, just write the number again and again, but only if the old value is changed.</p>
