using System.Threading.Tasks;
public static void Main()
var word = "HelloWordlds";
myCar.PrintMileage("km");
var resultSub = GetSubstraction(1,2);
Console.WriteLine("Substraction is:" + resultSub);
Console.WriteLine("Completed operations");
public static async Task<int> GetSum(int a, int b)
public static async Task<int> GetProduct(int a, int b)
public static int GetSubstraction(int a, int b){
public class Car : Vehicle
public class Boat : Vehicle
public void PrintMileage(string units)
Console.WriteLine("The mileage is: " + this.mileage + units);
public void PrintServiceRequired()