a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
274 B
C#
23 lines
274 B
C#
// CS0019: Operator `-' cannot be applied to operands of type `A' and `B'
|
|
// Line : 20
|
|
|
|
enum A
|
|
{
|
|
A1,
|
|
A2
|
|
}
|
|
|
|
enum B
|
|
{
|
|
B1,
|
|
B2
|
|
}
|
|
|
|
class C
|
|
{
|
|
static void Main ()
|
|
{
|
|
System.Console.WriteLine (A.A1 - B.B1);
|
|
}
|
|
}
|