摘要:
苏飞- C#仿QQ皮肤-实现原理系列文章导航http://www.cnblogs.com/sufei/archive/2010/03/10/1682847.html 阅读全文
摘要:
C#索引器的结构<modifier> <return type> this [argument list]...{get...{// Get codes goes here}set...{// Set codes goes here}}注:modifier:修饰词,如private, public, protected or internalthis:在C#中this是一个特殊的关键字,它表示引用类的当前实例。在这里它的意思是当前类的索引。argument list:这里指索引器的参数。具体例子:class SampleCollection<T>{priva 阅读全文