Exclude numbers starting with a certain three digits in C#
<p>I am currently building a C# application that is generating a random 9 digit number each run through. I am looking for a way to exclude numbers starting with "666". How would I go about writing a statement to exclude numbers starting with certain digits. </p>

<p>Here's the code snippet just in case it helps.</p>

<pre><code>Random SSN = new Random();
string temp = "";
int num = SSN.Next(100000000, 999999999);
temp = num.ToString();
</code></pre>

<p>Thanks!</p>
