static void Main(string[] args) { Console.WriteLine("Welcome to the BikeShop \nCurrent bikes are in our inventory\n"); BikeShop bikeShop = new BikeShop(); BikeConcern bikeConcern = new BikeConcern(); //overwiew of current bikess Console.WriteLine(bikeShop.bikes[0].BikeBrand + " Color " + bikeShop.bikes[0].BikeColor + " Wheel size " + bikeShop.bikes[0].BikeWheelSize + " Amount in inventory " + bikeShop.bikes[0].Amount); Console.WriteLine(bikeShop.bikes[1].BikeBrand + " Color " + bikeShop.bikes[1].BikeColor + " Wheel size " + bikeShop.bikes[1].BikeWheelSize + " Amount in inventory " + bikeShop.bikes[1].Amount); Console.WriteLine(bikeShop.bikes[2].BikeBrand + " Color " + bikeShop.bikes[2].BikeColor + " Wheel size " + bikeShop.bikes[2].BikeWheelSize + " Amount in inventory " + bikeShop.bikes[2].Amount); Console.WriteLine("\nThese are our Bike Brands:"); bikeShop.MyBikeBrands(); Console.WriteLine("\nOur bikes got these wheel sizes:"); bikeShop.MyBrandBikeWheelSize(); Console.WriteLine("\nIf you prefer it like this insted:"); bikeShop.MyBikeWheelSizeBrand(); Console.WriteLine("\nThere are this many red bikes in the shop:"); bikeConcern.BikesRed(); }
public void MyBikeText1(BikeShop bikeShop, int i) { Console.WriteLine("Nr " + (i + 1) + " Brand: " + bikeShop.bikes[i].BikeBrand); }
public void MyBikeText3(BikeShop bikeShop, int i) { Console.WriteLine("Wheel Size: " + bikeShop.bikes[i].BikeWheelSize + " inches\n" + "Nr " + (i + 1) + " Brand: " + bikeShop.bikes[i].BikeBrand + "\n"); }