summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0023-15.cs
blob: 6f045e73fb127907a6f10249d9c206b5a35bfefa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0023: The `++' operator cannot be applied to operand of type `object'
// Line: 9

using System;
using System.Collections;

class Test {
	public static void Main(string[] args) {
		ArrayList al = new ArrayList();
		al[0] = 0;
		
		Console.WriteLine((al[0])++);
	}
}