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