检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:刘必广[1,2]
机构地区:[1]福州大学数学与计算机科学学院,福建福州350002 [2]福建交通职业技术学院信息技术与工程系,福建福州350007
出 处:《长春师范学院学报(自然科学版)》2009年第3期66-69,共4页Journal of Changchun Teachers College
基 金:福建省教育厅科技项目(JB07283);福建交通职业技术学院科技发展基金项目(0423)
摘 要:通过对C#私有构造函数的分析与实践,说明了C#私有构造函数在继承性和实例创建等方面对类的影响,列举了C#私有构造函数创建实例的3种方法,指出C#私有构造函数在单体模式和简单工厂模式设计及其在类实例控制中的应用。Through the analysis and practice on C # private constructor, the paper illustrates the impact of the constructor on class in inheritance and ease- formation,and puts forward three methods of ease- formation with C# private construetor. The application of the private constructor in the design of single mode and simple factory and the effect of it in ease control is discussed also.
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15