110,533
社区成员
发帖
与我相关
我的任务
分享
public struct dbConfig
{
public int a;
public int b;
public float c;
public object this[int n]
{
get
{
switch (n)
{
case 0: return a;
case 1: return b;
case 2: return c;
default: throw new NotImplementedException();
}
}
}
}