a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
307 B
C#
23 lines
307 B
C#
using System;
|
|
|
|
class TestThing
|
|
{
|
|
public int SetEnum (string a, Enum b)
|
|
{
|
|
return 0;
|
|
}
|
|
public int SetEnum (int a, Enum b)
|
|
{
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
class Test
|
|
{
|
|
public static int Main (string [] args)
|
|
{
|
|
DayOfWeek? e = DayOfWeek.Monday;
|
|
TestThing t = new TestThing ();
|
|
return t.SetEnum ("hi", e);
|
|
}
|
|
} |