repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-01-31 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs0019-35.cs
blob
a7ba6b057207257ae5799031d9074c2d3523baf0
1
// CS0019: Operator `==' cannot be applied to operands of type `object' and `int'
2
// Line: 11
3
4
using
System
;
5
6
class
Test
{
7
8
static void
Main
()
9
{
10
object
o
=
2
;
11
if
(
o
==
42
)
12
Console
.
WriteLine
(
o
);
13
}
14
}