Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0131-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 45e1dee05e7de8c730eadc40d5873c5b5c290e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0131.cs: The left-hand side of an assignment or mutating operation must be a variable, property or 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])++);
	}
}