语法
摘要:
实现属性public string MyText{ get {return mText;} //不创建 get 为只读 set {mText = value;} //不创建 set 为只写} 索引public int this[int index]{ get {return IntArray[index];} set {IntArray[index] = value;}}... 阅读全文
posted @ 2005-08-20 23:41 左佩玉 阅读(279) 评论(0) 推荐(0) 编辑