mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
15 lines
No EOL
192 B
C#
15 lines
No EOL
192 B
C#
using System;
|
|
|
|
class Program
|
|
{
|
|
static int Main()
|
|
{
|
|
int theValue = Add(1, 2);
|
|
return theValue == 3 ? 0 : 1;
|
|
}
|
|
|
|
public static int Add(int a, int b)
|
|
{
|
|
return a + b;
|
|
}
|
|
} |