已知主函数 static void Main(string[] args) { A a = new A(10); for(int i=0;i<5;i++) a[i]=i; for(int i=0;i<5;i++) Console.WriteLine(a[i]); } 请实现其中用到的类A。