testing D♭

This commit is contained in:
Geir Okkenhaug Jerstad 2024-11-14 11:31:51 +01:00
parent 907cd1a608
commit eee5472033

View file

@ -3,11 +3,27 @@
internal class Program
{
static void Main(string[] args)
{
Run();
}
public static decimal sum()
{
int a = 3;
decimal b = 5;
decimal sum = a + b;
Console.WriteLine(sum);
return sum;
}
private static decimal Sum(decimal a, decimal b)
{
return a + b;
}
public static void Run()
{
Console.WriteLine(sum());
Console.WriteLine(Sum(3,5));
}
}
}