摘要:
一、生成随机字符串 方法一: 方法二: 二、创建验证码图片 实现方法一: 实现方法二: /// <summary> /// 由随机字符串,随即颜色背景,和随机线条产生的Image /// </summary> /// <returns>Image</returns> public static by 阅读全文
posted @ 2017-10-17 18:44
遇见未来
阅读(1531)
评论(2)
推荐(0)
摘要:
using System.Diagnostics; // 开始计时 Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); // 要计时的操作 // 停止计时 stopwatch.Stop(); // 显示统计结果 string Stastics = String.Format("用时{0}毫秒", st... 阅读全文
posted @ 2017-10-17 11:21
遇见未来
阅读(266)
评论(0)
推荐(0)
浙公网安备 33010602011771号