Googler

两情相悦,又岂在朝朝暮暮。

2013年7月25日

[恶心]数据库连接串加密

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.Common;namespace System.Data{ /// /// MultipleActiveResultSets=True; /// [Serializable] public sealed class ConnectionStringBuilder : DbConnectionStringBuilder { #region Pro... 阅读全文

posted @ 2013-07-25 19:23 RockyLOMO 阅读(450) 评论(0) 推荐(0) 编辑

Volatile vs VolatileRead/Write?

摘要: You should never use Thread.VolatileRead/Write(). It was a design mistake in .NET 1.1, it uses a full memory barrier. This was corrected in .NET 2.0, but they couldn't fix these methods anymore and had to add a new way to do it, provided by the System.Threading.Volatile class. Which is a class t 阅读全文

posted @ 2013-07-25 14:29 RockyLOMO 阅读(366) 评论(0) 推荐(0) 编辑

导航

Apple/苹果笔记本 Mac Air MC968CH/A 行货在保 I5 11寸 超级本