1What will be the result of the following code?
public class Vehicle
{
public void BoostSpeed(double boost)
{
Console.WriteLine($"Boooost with {boost} km/h.");
}
}
public class Program
{
static void Main(string[] args)
{
dynamic obj = Activator.CreateInstance(typeof(Vehicle));
try
{
obj.BoostSpeed(120);
}
catch (RuntimeBinderException ex)
{
Console.WriteLine(ex.Message);
}
}
}