public int NumberOfDoors;
public static void Main()
VehicleInfo firstVehicle;
VehicleInfo secondVehicle;
firstVehicle.RegNumber = "VK15 RAD";
firstVehicle.Make = "Nissan";
firstVehicle.NumberOfDoors = 8;
firstVehicle.EngineSize = 32.5f;
secondVehicle.RegNumber = "JM16 OSO";
secondVehicle.Make= "Honda";
secondVehicle.NumberOfDoors = 0;
secondVehicle.EngineSize = 954;
Console.WriteLine("The registration number of the car is {0} and the make is {1}. This vehicle has {2} doors and the engine size is {3}L.",firstVehicle.RegNumber,firstVehicle.Make,firstVehicle.NumberOfDoors,firstVehicle.EngineSize);
Console.WriteLine("The registration number of the Motorbike is {0} and the make is {1}. This vehicle has {2} doors (obviously) and the engine size is {3}cc.",secondVehicle.RegNumber,secondVehicle.Make,secondVehicle.NumberOfDoors,secondVehicle.EngineSize);
Console.WriteLine("Third vehicle is flying and unidentified.");