产生五位随机数

public static class Sys
{
    
// Fields
    private static Random randObj = new Random();

    
// Methods
    public static int Random()
    {
        
int num = Environment.TickCount + randObj.Next();
        
return (((num = (num * 0x343fd+ 0x269ec3>> 0x10& 0x7fff);
    }
}

原文地址:https://www.cnblogs.com/chenqingwei/p/1861467.html