static void Main (string[] args)
{
Console.Write ("Please enter this activity number:");
int ren = Int. Parse (Console.ReadLine ());
According to the number of set length
string[] Shuzu = new String[ren];
Cycle through all mobile phone numbers
for (int i = 0; i < Shuzu. Length; i++)
{
Console.Write ("Please enter the mobile number of the person {0}:", i + 1);
Shuzu[i] = Console.ReadLine ();
}
Prompt input Complete
Console.WriteLine ("All participants ' cell phone numbers are entered to complete");
Console.ReadLine ();
Initialize random number
Random ran = new random ();
Circular scrolling mobile phone number
for (int i = 0; i <; i++)
{
Console.clear ();//Clear screen
int aa = ran. Next (ren);//random number
Console.WriteLine ("Winning Number:" + SHUZU[AA]);
System.Threading.Thread.Sleep (5);
Print and Rest 5MS
}
Cheat Code
Console.clear ();
Console.WriteLine ("Winning Number: 157****2915");
Console.ReadLine ();
}
How to cheat on mobile lottery