using System;
public class Test
{
enum MenuResult
{
Nothing, // Enums for game state
Exit, // Enums for game state
Play, // Enums for game state
};
static MenuResult Show(int i)
{
return MenuResult.Exit;
}
public static void Main()
{
Console.WriteLine("Returned: {0}", Show(1));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJZW51bSAgTWVudVJlc3VsdAoJewoJCU5vdGhpbmcsIC8vIEVudW1zIGZvciBnYW1lIHN0YXRlCgkJRXhpdCwgICAvLyBFbnVtcyBmb3IgZ2FtZSBzdGF0ZQoJCVBsYXksICAgLy8gRW51bXMgZm9yIGdhbWUgc3RhdGUKCX07CgkKCXN0YXRpYyBNZW51UmVzdWx0IFNob3coaW50IGkpCgl7CgkJcmV0dXJuIE1lbnVSZXN1bHQuRXhpdDsKCX0KCQoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCUNvbnNvbGUuV3JpdGVMaW5lKCJSZXR1cm5lZDogezB9IiwgU2hvdygxKSk7Cgl9Cn0=