Menu
×
×
Correct!
Exercise:Insert the missing part to print the number 8 in
static int MyMethod(int x)
{
@(6) 5 + x;
}
static void Main(string[] args)
{
Console.WriteLine(MyMethod(3));
}
static int MyMethod(int x)
{
return 5 + x;
}
static void Main(string[] args)
{
Console.WriteLine(MyMethod(3));
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?