summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0131-3.cs
blob: 23dbfe1146e1aa84d2be2b68aa791539e6e04414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 12

using System;
using System.Collections;

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