fix da summybitchup

This commit is contained in:
Alex Thomassen 2018-12-06 14:10:55 +01:00
parent c1c239e907
commit 710137e092

View File

@ -18,14 +18,15 @@ namespace ClassDemo1
SkrivUtVersjonTo(tall);
SkrivUtVersjonTre(tall);
SumMyBitchUp(420, 69);
int sum = SumMyBitchUp(420, 69);
Write($"Sum: {sum}");
Console.ReadLine();
}
static void SumMyBitchUp(int first, int second)
static int SumMyBitchUp(int first, int second)
{
Write($"Her er summen på {first} + {second} = {first + second}");
return first + second;
}
/// <summary>