コード例 #1
0
 public Power(Voltage voltage, ElectricalResistance ohms)
 {
     _watts = voltage.TotalVolts * voltage.TotalVolts / ohms.TotalOhms;
 }