設計模式(C#) - 抽象工廠模式(Abstract Factory Pattern)(2)
AbstractMessageModelusing System;using System.Collections.Generic;using System.
設計模式(C#) - 抽象工廠模式(Abstract Factory Pattern)(3)
XMLMessageModelusing System;using System.Collections.Generic;using System.Text;
設計模式(C#) - 抽象工廠模式(Abstract Factory Pattern)(4)
SqlMessageusing System;using System.Collections.Generic;using System.Text;names
設計模式(C#) - 抽象工廠模式(Abstract Factory Pattern)(5)
SqlMessageFactoryusing System;using System.Collections.Generic;using System.Tex
用Visual C#來創建修改注冊信息(1)
在本文中,我們介紹修改注冊表中的鍵值的方法。而對於主鍵和子鍵,由於.Net FrameWork SDK中還沒有定義這方面的方法,所以還無法完成安全的修改注冊表
用Visual C#來創建修改注冊信息(2)
四.本文中源程序代碼( reg.cs )reg.cs程序代碼如下:using System ;using System.Drawing ;using Syst
c#擴展方法奇思妙用高級篇八:Type類擴展
Type 類提供了大量的屬性和方法,但在一些基礎性開發工作中,Type類功能還有些欠缺,尤其上在處理泛型類型時,如可空類型和泛型集合類型。下面的類就針對這些地
c#擴展方法奇思妙用高級篇七:“樹”通用遍歷器
先看一個簡單的類People(將作為測試用的例子):1 public abstract class People2 {3 public bool IsMal
c#擴展方法奇思妙用高級篇五:ToString(string format) 擴展(1)
在.Net中,System.Object.ToString()是用得最多的方法之一,ToString()方法在Object類中被定義為virtual,Obje