72
1
using System;
2
3
namespace Problem
4
{
5
internal interface IVehicle
6
{
7
void StartEngine();
8
}
9
internal class Car : IVehicle
10
{
11
public void StartEngine()
12
{
13
Console.WriteLine("Starting car");
14
}
15
}
16
internal class Bicycle : IVehicle
17
{
18
public void StartEngine()
19
{
20
throw new NotImplementedException();
21
}
22
}
23
internal class Mechanic
24
{
Cached Result
Compilation error (line 15, col 35): Method must have a return type
Compilation error (line 15, col 35): More than one protection modifier
Compilation error (line 22, col 6): The name 'pyramidCount' does not exist in the current context
Compilation error (line 23, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 24, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 25, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 26, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 27, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 15, col 35): More than one protection modifier
Compilation error (line 22, col 6): The name 'pyramidCount' does not exist in the current context
Compilation error (line 23, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 24, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 25, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 26, col 4): The name 'pyramidCount' does not exist in the current context
Compilation error (line 27, col 4): The name 'pyramidCount' does not exist in the current context