比较简单的类,一般用到它的属性.经常会用到的是DateTime.Now和DateTime.Now.TimeOfDay; using System; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data; using MySql.Data.Entity; using MySql.Data.MySqlClient; using System.IO; using System.D…
参考:http://www.cnblogs.com/delphinet/archive/2011/06/09/2075985.html 转换成秒: using System; using System.Collections.Generic; class Sentence { static void Main() { long ticks0 = DateTime.Now.Ticks; ; i < int.MaxValue; i++) { // ... } long ticks1 = DateTi…