using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
private List<Spot> parkingSpots = new List<Spot>();
private int numAvailableSpot;
public Level(int num, int level){
parkingSpots = new List<Spot>(numAvailableSpot);
public int getNumAvailableSpot (){
public bool checkIfCarPark(){
public void fillSpot(Vehicle v) {
public void setSpotNum(int i) {
public int getSpotNum() {
public void clearSpot() {
protected List<Spot> parkingSpots = new List<Spot>();
private string licensePlate;
protected CarType carType;
protected int spotsNeeded;
protected SpotType spotType;
public int getSpotsNeeded(){
public CarType getCarType(){
public SpotType getSpotType(){
public void parkVehicle(Spot s){
public void removeVehicle(){
public class Motorcycle : Vehicle{
carType = CarType.motorcycle;
spotType = SpotType.motorcycle;
public class Car : Vehicle{
spotType = SpotType.compact;
public class Bus : Vehicle{
spotType = SpotType.large;