Esempio n. 1
0
 public Car(CarType type, decimal balance)
 {
     Id      = Guid.NewGuid();
     CarType = type;
     Balance = balance;
 }
Esempio n. 2
0
 public Car(double balance, CarType carType)
 {
     this.id      = count++;
     this.balance = balance;
     this.carType = carType;
 }