public static void Run() { CVehicle Car = new CVehicle(); CVehicle Bike = new CVehicle(); ICar ICar = Car as ICar; IBike IBike = Bike as IBike; ICar.CarM1(); ICar.CarM2(); IBike.BikeM1(); IBike.BikeM2(); }