Beispiel #1
0
 public static string ClassStringShort(CabinClass cabin)
 {
     if (cabin == CabinClass.All)
     {
         return("");
     }
     return(cabin.ToString().ToUpper());
 }
Beispiel #2
0
 public override string ToString()
 {
     return(cabinClass.ToString() + " " + SeatPlan);
 }