5 // int this [int i] { get; }
6 int[] this [params int[] ii
] { get; }
10 public int this [int i
] {
14 public int[] this [params int[] ii
] {
15 get { return new int[] { this[1], this[2], this[ii.Length] }
; }
18 public static void Main ()
21 Console
.WriteLine (x
[1]);
22 int[] r
= x
[2, 2, 1, 2, 0];
23 for (int i
= 0; i
< r
.Length
; i
++)
24 Console
.Write (r
[i
] + " ");