随机数的产生

来源:互联网 发布:vip账号破解软件 编辑:程序博客网 时间:2024/04/20 06:00
public static string GetRandomString()
  { 
   public static Random seed = new Random(DateTime.Now.Millisecond);
   string text = DateTime.Now.ToString().Replace(":","-")+seed.Next(1000);
   return text;
  }