Exemplo n.º 1
0
        /// <summary>
        /// 返回一个当前日期加1000以内的随机数的字符串
        /// [主要用于引用文件的强制不进行缓存]
        /// </summary>
        /// <returns>结果</returns>
        public string GetStringDatePlusRandom()
        {
            DateTime now = DateTime.Now;

            return(ConvertTool.CombinationContent(now.Year, now.Second, RandomData.GetInt(now.Millisecond)));
        }