I am currently creating a C # application that generates a random 9 digit number that each passes. I am looking for a way to exclude numbers starting with "666". How can I write instructions to exclude numbers, starting with certain numbers.
Here's a snippet of code just in case it helps.
Random SSN = new Random();
string temp = "";
int num = SSN.Next(100000000, 999999999);
temp = num.ToString();
Thank!
PL3X source
share