mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-20 04:48:53 +00:00
21 lines
No EOL
238 B
C#
21 lines
No EOL
238 B
C#
class Program
|
|
{
|
|
static void Main()
|
|
{
|
|
int result = GetValue(false, true);
|
|
|
|
}
|
|
|
|
public static int GetValue(bool a, bool b)
|
|
{
|
|
if (a)
|
|
{
|
|
return 0xA0;
|
|
}
|
|
if (b)
|
|
{
|
|
return 0xB0;
|
|
}
|
|
return 0x10;
|
|
}
|
|
} |