2007-03-28 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / cs0187-2.cs
blobf00adcc9e8f6ddf718162ea261c12edec1630191
1 // cs0187.cs: No such operator '++' defined for 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])++);