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

cs0187-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f00adcc9e8f6ddf718162ea261c12edec1630191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0187.cs: No such operator '++' defined for 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])++);
	}
}