- 博客(2)
- 收藏
- 关注
原创 c#基础知识学习笔记 - 多个参数的索引器
using System; using System.Collections; class CourseScore { private string name; private int courseID; private int score; public CourseScore(string name, int courseID, int score)
2013-05-05 15:08:23 1568
原创 c#基础知识学习笔记 - 索引器
using System; //带索引器的类 class IndexClass { private string[] name = new string[10]; public string this[int index] { get { return name[index]; } set { name[index] = value; }
2013-05-05 14:14:41 419
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人