Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0021.cs
blobc11ab15b6c287ca328ada038f83084c5cbcc8503
1 // CS0021: Cannot apply indexing with [] to an expression of type `int'
2 // Line: 10
3 using System;
5 class Test
7 public static void Main ()
9 int i = 0;
10 Console.WriteLine ("Get i[2]: {0}", i[2]);