1 public class Generic
<T
>
3 private T
[,] container
= new T
[1,1];
5 public T
this [int row
, int col
]
8 return container
[row
, col
];
11 container
[row
, col
] = value;
18 public static void Main ()
20 Generic
<Fault
> gen
= new Generic
<Fault
> ();
21 gen
[0, 0] = new Fault ();
22 System
.Console
.WriteLine (gen
[0, 0].ToString ());
25 public override string ToString ()