2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0023-15.cs
blob6f045e73fb127907a6f10249d9c206b5a35bfefa
1 // CS0023: The `++' operator cannot be applied to operand of type `object'
2 // Line: 9
4 using System;
5 using System.Collections;
7 class Test {
8 public static void Main(string[] args) {
9 ArrayList al = new ArrayList();
10 al[0] = 0;
12 Console.WriteLine((al[0])++);