1 // Operators and generic types.
14 public static X
<T
> operator ++ (X
<T
> operand
) {
15 return new X
<T
> (operand
.Count
+ 1);
21 public static void Main ()
23 X
<long> x
= new X
<long> (5);
24 Console
.WriteLine (x
.Count
);
26 Console
.WriteLine (x
.Count
);