a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
211 B
C#
15 lines
211 B
C#
// CS0019: Operator `==' cannot be applied to operands of type `object' and `int'
|
|
// Line: 11
|
|
|
|
using System;
|
|
|
|
class Test {
|
|
|
|
static void Main ()
|
|
{
|
|
object o = 2;
|
|
if (o == 42)
|
|
Console.WriteLine (o);
|
|
}
|
|
}
|