# Exercise 1
Will this code compile and run? Do not use IDE to answer this question. If this code is incorrect, then explain the issue and fix it.
using System;
class MainClass
{
public static void Main ()
{
Console.WriteLine($"{5 % 2 == 0 ? "even" : "odd"}");
}
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
← Example 5 Exercise 2 →