摘要:
C#计算程序的运行时间/// <summary>/// 计算程序的运行时间/// </summary>classStopWatch{private int mintStart;public void start(){mintStart = Environment.TickCount;}public long elapsed(){return Environment.TickCount - mintStart;}}在程序的开始和结尾处分别加上StopWatchsw = newStopWatch(); sw.start(); 和sw.elapsed();sw.elapsed 阅读全文
posted @ 2012-09-12 18:43
举重-若轻
阅读(152)
评论(0)
推荐(0)
摘要:
ValueDescriptionlist/libraryFornotes, names as displayed in SharePoint or in the SQL Content database-1InvalidType(not used)100GenericList0(see note below) Also used for "Import Spreadsheet" Also: (and I'm sure more...) Relationships List Reusable Content Quick Deploy Items Variation L 阅读全文
posted @ 2012-09-12 18:41
举重-若轻
阅读(331)
评论(0)
推荐(0)
摘要:
System.Web.Caching命名空间提供用于缓存服务器上常用数据的类。这包括 Cache 类,该类是一个使您可以存储任意数据对象(如哈希表和数据集)的词典。它还为这些对象提供到期功能,并提供使您可以添加和移除对象的方法。您还可以添加依赖于其他文件或缓存项的对象,并在从Cache中移除对象时执行回调以通知应用程序。System.Web.Caching.Cache用于实现 Web 应用程序的缓存。对于每个应用程序域均创建该类的一个实例,并且只要对应的应用程序域保持活动,该实例便保持有效。有关此类实例的信息通过HttpContext对象的Cache属性或Page对象的Cache属性来提供。方 阅读全文
posted @ 2012-09-12 18:24
举重-若轻
阅读(347)
评论(0)
推荐(0)

浙公网安备 33010602011771号