05 2012 档案

摘要:public static class API { /// <summary> /// 创建有序的 guid。 /// </summary> /// <returns></returns> public static Guid NewSequentialGuid() { Guid result; UuidCreateSequential(out result); return result; } /// ... 阅读全文
posted @ 2012-05-26 14:33 梦幻泡影 阅读(714) 评论(0) 推荐(0) 编辑
摘要:[TestFixture] public class CompareHelperTest { private class C { public String P1 { get; set; } public Int32 P2 { get; set; } } [Test] public void testPropertiesEqual() { C c1 = new C(); c1.P1 = "a"; ... 阅读全文
posted @ 2012-05-21 16:48 梦幻泡影 阅读(345) 评论(0) 推荐(0) 编辑