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