repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1821 from iainx/replace-getline
[mono-project.git]
/
mcs
/
errors
/
cs0021.cs
blob
c11ab15b6c287ca328ada038f83084c5cbcc8503
1
// CS0021: Cannot apply indexing with [] to an expression of type `int'
2
// Line: 10
3
using
System
;
4
5
class
Test
6
{
7
public static void
Main
()
8
{
9
int
i
=
0
;
10
Console
.
WriteLine
(
"Get i[2]:
{0}
"
,
i
[
2
]);
11
}
12
}
13